[Top][All Lists]

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

Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182)

From: Matthew Woehlke
Subject: Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182)
Date: Wed, 14 Jan 2009 10:56:02 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20090105 Fedora/ Thunderbird/ Mnenhy/

Aaron Peterson wrote:
Note, interactive, and no-clobber don't have to be exclusive... Here
is an example of them combined: Interactively see if the person wants
to overwrite, then say, oh, you can't do it because you told me not

Then -n -i  would say it can't overwrite a certain file, and not even
have to ask.
 -i -n  would ask, and then say, can't overwrite or similar.

I don't think that makes sense... why are you asking if you won't do it anyway?

I believe that  might not be the posix way though...  Image magick
order matters...  actually in cp order matters... So order could
matter here too.

The order of -f and -i already matters, as I understand, so I don't see the problem extending that to -n (especially as -f, -n and -i are all closely related).

Please do not quote my e-mail address unobfuscated in message bodies.
"Ah, yes. Control the media and you control the world."
  -- from a story by Raven Blackmane

reply via email to

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