[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: Aaron Peterson
Subject: Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182)
Date: Sat, 10 Jan 2009 22:47:51 -0800

On Sat, Jan 10, 2009 at 10:46 PM, Aaron Peterson
<address@hidden> wrote:
> On Wed, Jan 7, 2009 at 11:36 PM, Jim Meyering <address@hidden> wrote:
>> Eric Blake <address@hidden> wrote:
>>> According to Jim Meyering on 1/7/2009 12:27 PM:
>>>>>> Anyone else have a preference?
> Wow,
> I really wish it would error out if mutually exclusive options were chosen.
> I guess we have to go with posix on the ones where posix specifies.
> Can we convince posix group to add a sane way to handle these?
> I am beginning to think Posix doesn't like the users.
> Can we have an extension that makes it so mutually exclusive options error 
> out?
> I see that the last one needs to override the previous. It's just a
> nightmare for the user, a typo causes system damage rather than an
> error...  also a typo can exist for a long time,  cp -f -i -n blahblah
>        where  somebody really needs it forced, and simply typod the
> -n ....  (works in many combination).
> cp -f   -- when would anybody actually need that anyway?
> When would deleting the file be possible when overwriting it is  not 
> possible??
> +If you specify more than one of -i, -f, -n, only the final one takes 
> effect.\n\
>  "), stdout);
>      fputs (_("

reply via email to

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