cpdup - Add -VV to ignore mtime
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 2 Mar 2010 23:58:07 +0000 (15:58 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 2 Mar 2010 23:58:07 +0000 (15:58 -0800)
commit1bcaecda7c9b82295c7b80c59b72e9f6ad8758db
tree2e7550341bf87e61e5c9d08fedea373f67171327
parentbbb01e143edc616b0a7ea418ab3a82c6abb1700c
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.
bin/cpdup/cpdup.1
bin/cpdup/cpdup.c
bin/cpdup/misc.c