From owner-freebsd-current@FreeBSD.ORG Fri Dec 2 05:32:36 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A0D41065688 for ; Fri, 2 Dec 2011 05:32:36 +0000 (UTC) (envelope-from grog@lemis.com) Received: from w3.lemis.com (w3.lemis.com [208.86.224.149]) by mx1.freebsd.org (Postfix) with ESMTP id EC5AE8FC0A for ; Fri, 2 Dec 2011 05:32:35 +0000 (UTC) Received: from dereel.lemis.com (1032.x.rootbsd.net [208.86.224.149]) by w3.lemis.com (Postfix) with ESMTP id 4ED393BB88; Fri, 2 Dec 2011 05:24:52 +0000 (UTC) Received: by dereel.lemis.com (Postfix, from userid 1004) id 05CE5DADEC; Fri, 2 Dec 2011 16:24:51 +1100 (EST) Date: Fri, 2 Dec 2011 16:24:51 +1100 From: Greg 'groggy' Lehey To: Matt Mullins Message-ID: <20111202052451.GA33231@dereel.lemis.com> References: <20111201112838.GA62127@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Organization: The FreeBSD Project Phone: +61-3-5346-1370 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: Alexander Best , freebsd-current@freebsd.org Subject: Re: stupid cp(1) behaviour X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 05:32:36 -0000 --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 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--