Saturday, June 21, 2014

How to copy symbolic links in Unix

If you have symbolic links that you want to copy to another folder, using cp command will copy the actual files that the links are linking to. Use cp with -av option.
cp -av <linkname> <folder>

No comments:

Post a Comment