Skip to main content

Thread: creating symbolic links to files on usb drives


hey
got ubuntu server set up, automounts couple of external usb harddrives.

wanna make folder links every file folders on usb drives special folder, possible?

tryed doing "sudo ln -s /media/usb0/photos/*" , typed when in folder wanted links, told not create symbolic link, file exists? (translated error msg danish english)

the correct syntax 'ln' ln -s target link_name target location want link point to, , link_name name of link want. don't believe can glob (i.e. use *). but, if want create symbolic link photos directory (let's say) home directory:

code:
ln -s /media/usb0/photos/ /home/<username>/photosonusb0
that create link in home folder (substitute <username> actual username!) that's called "photosonusb0" points photos folder on usb0.

hope helps!


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] creating symbolic links to files on usb drives


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?