Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2011 18:13:51 -0800
From:      "David O'Brien" <obrien@freebsd.org>
To:        Matt Mullins <mokomull@gmail.com>
Cc:        Alexander Best <arundel@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: stupid cp(1) behaviour
Message-ID:  <20111202021351.GC4444@dragon.NUXI.org>
In-Reply-To: <CAPyT1SFgeBAbuPM9KULnPu8JhKjR3TskwV3%2BUmwkavNTgATQ4A@mail.gmail.com>
References:  <20111201112838.GA62127@freebsd.org> <CAPyT1SFgeBAbuPM9KULnPu8JhKjR3TskwV3%2BUmwkavNTgATQ4A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111202021351.GC4444>