Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 2009 19:29:21 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Peter <fbsdq@peterk.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cpdup always copying files even if they are the same [but diff user]
Message-ID:  <alpine.BSF.2.00.0910231928060.18536@wonkity.com>
In-Reply-To: <a0ca9f5d9694f4f5e483b75c18b0bddb.squirrel@webmail.pknet.net>
References:  <a0ca9f5d9694f4f5e483b75c18b0bddb.squirrel@webmail.pknet.net>

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



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