Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

symlinks and file visibility on Linux



 Hi folks, 

I would like to know if it is possible to have the following setup. 

in a directory, create two sub-directories, foo, and bar. 
put text files in foo, called text1.txt and text2.txt 
put text files in bar called text3.txt and text4.txt 

create a symlink somehow so that the contents of foo show up in bar, but 
the contents of bar do not show up in foo. 

thus when I do an 'ls' of 'foo' I see : 
text1.txt 
text2.txt 

but when I do an 'ls' of 'bar' I see : 
text1.txt 
text2.txt 
text3.txt 
text4.txt 

I'm sure its possible, but I cant figure out how. Maybe I need more 
caffeine ? 

thanks 

Richard 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org