Re: stupid cp(1) behaviour
--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Thursday, 1 December 2011 at 11:35:50 -0800, Matt Mullins wrote:
> On Thu, Dec 1, 2011 at 3:28 AM, Alexander Best <arundel@freebsd.org> wrote:
>> implement a new -N switch or so which isn't based on a file's
>> existance, but a file's checksum.
>
> You can always use net/rsync, which does by default compare
> checksums.
FWIW, by default rsync only compares checksums by default if the file
size or modification timestamps are different. If you want to always
go by checksum, you need the -c (--checksum) option.
Greg
--
Sent from my desktop computer
Finger grog@FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed. If your Microsoft MUA reports
problems, please read http://tinyurl.com/broken-mua
--vkogqOf2sHV7VnPd
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
iEYEARECAAYFAk7YYSIACgkQIubykFB6QiO7SQCgpwYyH8j4cdfDaK0NHQkgkOr+
MhQAn1xQ22O0Jw4Vku7qriJ4PgZ79t5o
=K0Xe
-----END PGP SIGNATURE-----
--vkogqOf2sHV7VnPd--
討論串 (同標題文章)
完整討論串 (本文為第 5 之 5 篇):