[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ln -sf foo symlink_to_directory
From: |
Paul Eggert |
Subject: |
Re: ln -sf foo symlink_to_directory |
Date: |
09 Feb 2004 13:41:36 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
address@hidden (Paul Jarc) writes:
> > "rm --as-is foo" would be equivalent to "unlink foo", and
>
> I didn't suggest adding this option to rm. rm's determination of
> whether to treat the path as a directory is already determined
> entirely from the command line, from -r/-R.
Not exactly: if foo is an empty directory, "rm -r foo" calls rmdir
("foo"), whereas "rm --as-is foo" would call unlink ("foo") and then
would fail on most modern hosts.
> > But I tend to prefer adding a flag to the existing commands.
> > But I prefer Bruno's suggestion of adding a flag to the existing commands.
>
> Eh?
An editing error on my part. Sorry.