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.


No Comments Yet so far
Leave a comment



Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>