stupid cp(1) behaviour

Greg 'groggy' Lehey grog at FreeBSD.org
Fri Dec 2 05:32:36 UTC 2011


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 at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20111202/a0796f49/attachment.pgp


More information about the freebsd-current mailing list