git: cpdup - Add -VV to ignore mtime
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Mar 2 16:01:00 PST 2010
commit 1bcaecda7c9b82295c7b80c59b72e9f6ad8758db
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Mar 2 15:58:07 2010 -0800
cpdup - Add -VV to ignore mtime
* The cpdup -V option verifies the contents of the files even if the
mtime is the same, but also (currently) recopies the file without
bothering to verify the contents if the mtime is different, even if
the contents is the same.
* Add an extension, -VV, which verifies the contents of the file and
ignores mtime entirely. A copy is only made if the ownerchip,
flags, modes, or content differs.
Summary of changes:
bin/cpdup/cpdup.1 | 6 ++++++
bin/cpdup/cpdup.c | 4 ++--
bin/cpdup/misc.c | 3 ++-
3 files changed, 10 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1bcaecda7c9b82295c7b80c59b72e9f6ad8758db
--
DragonFly BSD source repository
More information about the Commits
mailing list