[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 (_("
>
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), (continued)
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Pádraig Brady, 2009/01/06
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Kamil Dudka, 2009/01/06
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Kamil Dudka, 2009/01/06
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Jim Meyering, 2009/01/07
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Kamil Dudka, 2009/01/07
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Jim Meyering, 2009/01/07
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Kamil Dudka, 2009/01/07
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Jim Meyering, 2009/01/07
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Eric Blake, 2009/01/07
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Jim Meyering, 2009/01/08
- Message not available
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182),
Aaron Peterson <=
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Kamil Dudka, 2009/01/13
- Message not available
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Aaron Peterson, 2009/01/14
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Matthew Woehlke, 2009/01/14
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Aaron Peterson, 2009/01/14
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Kamil Dudka, 2009/01/13
- Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182), Jim Meyering, 2009/01/14