|
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:1.8.1.19) Gecko/20090105 Fedora/2.0.0.19-1.fc10 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0 |
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 to. 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).
-- Matthew 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
[Prev in Thread] | Current Thread | [Next in Thread] |