Adds a new "dup" command to find duplicates.

This commit is contained in:
Andrea Mazzoleni 2011-12-08 20:37:27 +01:00
parent 8585485868
commit cec7b2f2b4
10 changed files with 193 additions and 22 deletions

View file

@ -7,7 +7,7 @@ Synopsis
: [-Z, --force-zero] [-E, --force-empty]
: [-s, --start BLKSTART] [-t, --count BLKCOUNT]
: [-v, --verbose]
: sync|diff|check|fix
: sync|diff|dup|check|fix
:snapraid [-V, --version] [-h, --help]
@ -192,6 +192,12 @@ Commands
Nothing is modified.
dup
Lists all the duplicate files. Two files are assumed equal if their hashes
are matching. The effective data is not read.
Nothing is modified.
check
Checks all the files and the redundancy data.
All the files are hashed and compared with the snapshot saved