From owner-freebsd-current@FreeBSD.ORG Fri Dec 2 02:13:52 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 E2D6E106566C for ; Fri, 2 Dec 2011 02:13:52 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id BEB058FC12 for ; Fri, 2 Dec 2011 02:13:52 +0000 (UTC) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.5/8.14.5) with ESMTP id pB22Dp24004666; Thu, 1 Dec 2011 18:13:52 -0800 (PST) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.5/8.14.4/Submit) id pB22DpJW004665; Thu, 1 Dec 2011 18:13:51 -0800 (PST) (envelope-from obrien) Date: Thu, 1 Dec 2011 18:13:51 -0800 From: "David O'Brien" To: Matt Mullins Message-ID: <20111202021351.GC4444@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Matt Mullins , Alexander Best , freebsd-current@freebsd.org References: <20111201112838.GA62127@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 9.99-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? User-Agent: Mutt/1.5.20 (2009-06-14) 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 Reply-To: obrien@freebsd.org 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 02:13:53 -0000 On Thu, Dec 01, 2011 at 11:35:50AM -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. 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"