Symlinks (was Re: [OS X TeX] Fwd: Unwanted files have which extensions?)
Michael S. Hanson
mshanson at wesleyan.edu
Thu Aug 19 09:26:55 EDT 2004
On Aug 19, 2004, at 7:16 AM, Claus Gerhardt wrote:
> On 19.08.2004, at 02:18, Bruno Voisin wrote:
>> Le 19 août 04, à 01:53, Stefan Walsen a écrit :
>>> You just supply the name you want the symlink to have as a second
>>> argument to ln.
>>> ln -s <original> <link>
>>> will give you a symlink called <link> pointing to the <original>.
>>> <original> can be an absolute (beginning with "/") or relative
>>> pathname, and <original>, the "link target", does not need to exist.
>>> If an existing directory is given as <link>, a symlink with the name
>>> of the original will be created in the given directory.
>> That's where I see a problem: I expected to be able, for a directory
>> as well as for a file, to create, by using the above syntax, a
>> symlink with name different from that of the original directory.
>> Alas, it seems that's not possible.
> According to the manual the ln command only works for files, though
> the name of the target could be the name of a different directory, in
> which case a link with the name of the original file will be created
> in that directory. It is also possible to issue the command with more
> than two arguments, where the last argument is the name of a
FWIW, I can confirm that Unix symlinks (soft links) for directories
work as expect on both OS X and Solaris for me. I use the above
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX