stupid cp(1) behaviour
David O'Brien
obrien at freebsd.org
Fri Dec 2 02:13:53 UTC 2011
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"
More information about the freebsd-current
mailing list