2 .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
3 .\" other parms are allowed: see man(7), man(1)
5 fdupes \- finds duplicate files in a given set of directories
15 Searches the given path for duplicate files. Such files are found by
16 comparing file sizes and MD5 signatures, followed by a
17 byte-by-byte comparison.
22 for every directory given follow subdirectories encountered within
25 for each directory given after this option follow subdirectories
26 encountered within (note the ':' at the end of option; see the
27 Examples section below for further explanation)
30 follow symlinked directories
33 normally, when two or more files point to the same disk area they are
34 treated as non-duplicates; this option will change this behavior
36 .B -G --minsize\fR=\fISIZE\fR
37 consider only files greater than or equal to SIZE
39 .B -L --maxsize=\fR=\fISIZE\fR
40 consider only files less than or equal to SIZE
43 exclude zero-length files from consideration
46 exclude hidden files from consideration
49 omit the first file in each set of matches
52 list each set of matches on a single line
55 show size of duplicate files
58 show modification time of duplicate files
61 summarize duplicate file information
64 hide progress indicator
67 prompt user for files to preserve, deleting all others (see
72 with --delete, use line-based prompt (as with older versions of
73 fdupes) instead of screen-mode interface
76 when used together with \-\-delete, preserve the first file in each
77 set of duplicates and delete the others without prompting the user
80 delete duplicates as they are encountered, without
81 grouping into sets; implies --noprompt
84 don't consider files with different owner/group or permission bits as duplicates
86 .B -o --order\fR=\fIWORD\fR
87 order files according to WORD:
88 time - sort by modification time, ctime - sort by status change time, name - sort by filename
91 reverse order while sorting
93 .B -l --log\fR=\fILOGFILE\fR
94 log file deletion choices to LOGFILE
97 display fdupes version
102 .\" Always quote multiple words for .SH
109 is specified, duplicate files are listed
110 together in groups, each file displayed on a separate line. The
111 groups are then separated from each other by blank lines.
117 is specified, spaces and backslash characters (\fB\e\fP) appearing
118 in a filename are preceded by a backslash character.
122 .B fdupes a --recurse: b
123 will follow subdirectories under b, but not those under a.
125 .B fdupes a --recurse b
126 will follow subdirectories under both a and b.
129 If fdupes returns with an error message such as
130 .B fdupes: error invoking md5sum
131 it means the program has been compiled to use an external
132 program to calculate MD5 signatures (otherwise, fdupes uses
133 internal routines for this purpose), and an error has occurred
134 while attempting to execute it. If this is the case, the
135 specified program should be properly installed prior
142 care should be taken to insure against
143 accidental data loss.
145 When used together with options
149 a user could accidentally
150 preserve a symlink while deleting the file it points to.
152 Furthermore, when specifying a particular directory more than
153 once, all files within that directory will be listed as their
154 own duplicates, leading to data loss should a user preserve a
155 file without its "duplicate" (the file itself!).
158 Adrian Lopez <adrian2@caribe.net>