link

David Bendit DarkElf109 at ibendit.com
Mon Oct 15 22:36:24 MST 2007


Michael Havens wrote:
> There is a folder called 'Documets' in the home directory and one also in 
> 'Desktop'. The existing files were moved from the folder in Desktop  and 
> placed in home's Documents and then deleted. Some programs  think Documents 
> is in home while some think it is in the other file. I want the files that go 
> to ~/Desktop/Documents to be placed into <home>/Documents. What i am thinking 
> is that if you put a link in ~/Desktop/Documents..... After reading the man 
> page for pipe and for link it seems that neither of them will do what is 
> desired.

Just empty one of them, then make a symbolic link to the other in its 
place. Example:

rmdir ~/Desktop/Documents
ln -s ~/Documents ~/Desktop/Documents

And whenever a program goes looking into ~/Desktop/Documents, it'll 
really be seeing the files in ~/Documents.

-David Bendit


More information about the PLUG-discuss mailing list