bug-coreutils
[Top][All Lists]
Advanced

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

Re: [cp v5.97] --noreply erroneously depreciated


From: Eric Blake
Subject: Re: [cp v5.97] --noreply erroneously depreciated
Date: Thu, 20 Dec 2007 06:51:46 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Chris Velevitch on 12/19/2007 11:37 PM:
> I use cp --noreply=no to unconditional keep existing files. Now that
> it's depreciated, I see no equivalent option.

It's --reply=no, not --noreply=no.  And this has already been discussed:
http://lists.gnu.org/archive/html/bug-coreutils/2007-08/msg00168.html
http://lists.gnu.org/archive/html/bug-coreutils/2007-04/msg00055.html

> 
> The suggested alternatives don't work:
> 
>    -i is interactive and I'm creating a non-interactive command
>    -f has the opposite effect: it unconditionally overwrites the
> destination file
>    -u will conditionally overwrite the destination file
> 
> and there is no -k to unconditionally keep the destination file.

What exactly are you trying to do?  rsync may be a better tool for your
task, as it does have options to unconditionally keep destination files.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHanNy84KuGfSFAYARAnQ5AJ4wqeDGQP7eYj8+jMKRh8KsqS/BjQCg1iCQ
O2G/dhQx61zz56yO2hmFBuk=
=G4aX
-----END PGP SIGNATURE-----




reply via email to

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