Re: stupid cp(1) behaviour

From: David O'Brien <obrien_at_freebsd.org>
Date: Thu, 1 Dec 2011 18:13:51 -0800
On Thu, Dec 01, 2011 at 11:35:50AM -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.

I don't believe that is true [anymore]:

$ rsync --help
rsync  version 3.0.9  protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
[...]
 -c, --checksum              skip based on checksum, not mod-time & size
 ...
 -I, --ignore-times          don't skip files that match in size and mod-time
     --size-only             skip files that match in size
     --modify-window=NUM     compare mod-times with reduced accuracy

-- 
-- David  (obrien_at_FreeBSD.org)
Q: Because it reverses the logical flow of conversation.
A: Why is top-posting (putting a reply at the top of the message) frowned upon?
Let's not play "Jeopardy-style quoting"
Received on Fri Dec 02 2011 - 01:13:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC