bug-coreutils
[Top][All Lists]
Advanced

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

Re: can you please add a synchronization feature to the GNU cp


From: Eric Blake
Subject: Re: can you please add a synchronization feature to the GNU cp
Date: Wed, 11 Jun 2008 13:14:33 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

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

According to William Tambe on 6/11/2008 10:34 AM:
|
| I know rsync provide a similar feature but it would be nice to have just
| a single option to the cp command to do the work without having to use
| another tool which has its own set of options and feature.

Unfortunately, adding a non-standard option to cp requires a lot of
justification.  As you noted, you can already use rsync; and whereas every
vendor supplies a cp implementation (with POSIX describing a common
subset), to my knowledge there is only one implementation of rsync.  Ask
yourself which is better - relying on a relatively stable and pre-existing
interface provided by rsync, or waiting for several years for a
non-standard GNU cp extension to propogate while still lacking that
extension in all the vendor-supplied cp versions?  We will probably review
any patch written that adds such a feature, but none of the regulars on
this list plan on writing such a patch because the benefit-to-cost ratio
is so small.

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

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

iEYEARECAAYFAkhQJBkACgkQ84KuGfSFAYAjrwCgu1LZIsFObI0FBFLAv9131x9n
yyYAnj/Se8hWahBvPFtf1abnUghnuUDZ
=Nqgd
-----END PGP SIGNATURE-----




reply via email to

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