What you're looking for is some sort of shell processing
of symlinks like:
filediff_dir1
filediff_dir2
./dir1 -> dir2
./dir2/samefile1
./dir2/samefile2
./dir2/samefile..
./dir2/filediff -> ../filediff_`basename $PWD`
not a chance I'm afraid.
Are symlinks supported on CD? if so are
hardlinks supported, as this would be
more transparent.
Padraig.
Conor Daly wrote:
>I know this is going to get me...
>>I have two directories that are identical apart from one file. This file
>exists with the same name in both directories but with different contents.
>Now, my problem is this. I want to symlink one directory to the other but I
>need this file to be different depending on which directory I'm in. This
>has then to become a CDROM. Is my only option to create the second
>directory and, within that directory, symlink all the identical files and
>just keep a copy of the different file? I suspect so but I'd like to be
>sure.
>>Conor
>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!