From owner-freebsd-questions@FreeBSD.ORG Sat Oct 24 01:29:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3726106568D for ; Sat, 24 Oct 2009 01:29:26 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 62F4B8FC1A for ; Sat, 24 Oct 2009 01:29:26 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n9O1TLAv018961; Fri, 23 Oct 2009 19:29:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n9O1TL02018958; Fri, 23 Oct 2009 19:29:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 23 Oct 2009 19:29:21 -0600 (MDT) From: Warren Block To: Peter In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Fri, 23 Oct 2009 19:29:21 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: cpdup always copying files even if they are the same [but diff user] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2009 01:29:26 -0000 On Fri, 23 Oct 2009, Peter wrote: > If the src and dst files are owned by different users, cpdup copies the > file even if it the same. > Copying from root -> user it always copies the file > Copying from user -> user it notices that the file has not changed. > Copying form user -> user1 it always copies the file You might try rsync -a. -Warren Block * Rapid City, South Dakota USA