Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2011 16:24:51 +1100
From:      Greg 'groggy' Lehey <grog@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:  <20111202052451.GA33231@dereel.lemis.com>
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

--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--



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