bug-coreutils
[Top][All Lists]
Advanced

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

Re: ln -sf foo symlink_to_directory


From: Paul Jarc
Subject: Re: ln -sf foo symlink_to_directory
Date: Fri, 06 Feb 2004 23:18:42 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

Paul Eggert <address@hidden> wrote:
> There is some overlap here, as
> "ln --as-is foo bar" would be equivalent to "link foo bar",

Yes, though it would still be useful to combine --as-is with other ln
options like -f.

> "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.

> "cp --as-is foo bar" would be equivalent to "cat <foo >bar".

Yes, though it would still be useful to combine --as-is with other cp
options like -p.

> 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?


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]