1 .TH "FINDDUP" 1 "Mar 2010" "Francois Fleuret" "User Commands"
3 \" This man page was written by Francois Fleuret <francois@fleuret.org>
4 \" and is distributed under a Creative Commons Attribution-Share Alike
9 finddup \- Find files common to two directories (or not)
13 \fBfinddup\fP [OPTION]... DIR1 [[not:]DIR2]
17 With a single directory argument, \fBfinddup\fP prints the duplicated
18 files found in it. With two directories, it prints either the files
19 common to both DIR1 and DIR2, or with the `not:' prefix, the ones
20 present in DIR1 and not in DIR2.
22 It compares files by first comparing their sizes, hence goes
25 When looking for identical files,
27 by default associates a group ID to every content, and prints it along
36 ignore files and directories starting with a dot
39 do not show which files from DIR2 corresponds to files from DIR1
42 do not show the file group IDs
45 show progress information in stderr
48 show the real path of the files
52 None known, probably many. Valgrind does not complain though.
56 The format of the output should definitely be improved. Not clear how.
58 The comparison algorithm could definitely use some MD5 kind of
59 signature. I doubt it would really speed up a lot.
61 Their should be some fancy option to run two instances of the command
62 on different machines so that comparison could be done without disk
63 access where the disk are physically.
67 .B finddup -cg blah something
72 which have a matching file with same content in
77 .B finddup sources not:/mnt/backup
80 List all files found in
82 which do not have content-matching equivalent in
86 .B finddup tralala cuicui
89 List groups of files with same content which exist both in
96 Written by Francois Fleuret <francois@fleuret.org> and distributed
97 under the terms of the GNU General Public License version 3 as
98 published by the Free Software Foundation. This is free software: you
99 are free to change and redistribute it. There is NO WARRANTY, to the
100 extent permitted by law.