Linux: Can I link multiple destinations via softlinks?

Posted by kds1398 on Super User See other posts from Super User or by kds1398
Published on 2010-06-04T13:50:13Z Indexed on 2010/06/05 18:32 UTC
Read the original article Hit count: 251

Attempting to end up with something similar to this:

$ ls -l  
lrwxrwxrwx  1 user group   4 Jun 28  2010 foo -> /home/bar  
lrwxrwxrwx  1 user group   4 Jun 29  2010 foo -> /etc/bar  

The intention is to be able to move a file to foo & have it go to both destination directories for now. The goal is to eventually unlink /home/bar link after confirming there are no issues with moving the files to /etc/bar. I am restricted in that I am unable to change or add to the process that moves the files.

© Super User or respective owner

Related posts about linux

Related posts about command-line