The Crane Has Landed


Creating symbolic links rather than copying
June 9, 2008, 7:22 pm
Filed under: Ubuntu

This drove me nuts for more than a short time, but if you’re interested in creating a whole bunch of symbolic links at any time, simply use the -s switch to the cp command – i.e.:

cp -s /media/MoreVideos/*.avi /media/Videos

would create a symlink in Videos to each .avi in MoreVideos.

Niiice.