1FDUPES(1)                   General Commands Manual                  FDUPES(1)
2
3
4

NAME

6       fdupes - finds duplicate files in a given set of directories
7

SYNOPSIS

9       fdupes [ options ] DIRECTORY ...
10
11

DESCRIPTION

13       Searches  the  given  path for duplicate files. Such files are found by
14       comparing file sizes and MD5 signatures,  followed  by  a  byte-by-byte
15       comparison.
16
17

OPTIONS

19       -r --recurse
20              for  every  directory  given  follow  subdirectories encountered
21              within
22
23       -R --recurse:
24              for each directory given after this option follow subdirectories
25              encountered within
26
27       -s --symlinks
28              follow symlinked directories
29
30       -H --hardlinks
31              normally,  when  two  or  more files point to the same disk area
32              they are treated as non-duplicates; this option will change this
33              behavior
34
35       -n --noempty
36              exclude zero-length files from consideration
37
38       -f --omitfirst
39              omit the first file in each set of matches
40
41       -1 --sameline
42              list each set of matches on a single line
43
44       -S --size
45              show size of duplicate files
46
47       -q --quiet
48              hide progress indicator
49
50       -d --delete
51              prompt  user  for  files  to  preserve, deleting all others (see
52              CAVEATS below)
53
54       -N --noprompt
55              when used together with --delete, preserve  the  first  file  in
56              each  set  of duplicates and delete the others without prompting
57              the user
58
59       -v --version
60              display fdupes version
61
62       -h --help
63              displays help
64

SEE ALSO

66       md5sum(1)
67

NOTES

69       Unless -1 or  --sameline  is  specified,  duplicate  files  are  listed
70       together  in groups, each file displayed on a separate line. The groups
71       are then separated from each other by blank lines.
72
73       When -1 or --sameline is specified,  spaces  and  backslash  characters
74       (\) appearing in a filename are preceded by a backslash character.
75

CAVEATS

77       If  fdupes returns with an error message such as fdupes: error invoking
78       md5sum it means the program has been compiled to use an  external  pro‐
79       gram  to calculate MD5 signatures (otherwise, fdupes uses internal rou‐
80       tines for this purpose), and an error has occurred while attempting  to
81       execute  it. If this is the case, the specified program should be prop‐
82       erly installed prior to running fdupes.
83
84       When using -d or --delete, care should be taken to insure against acci‐
85       dental data loss.
86
87       When  used together with options -s or --symlink, a user could acciden‐
88       tally preserve a symlink while deleting the file it points to.
89
90       Furthermore, when specifying a particular directory more than once, all
91       files  within  that  directory  will be listed as their own duplicates,
92       leading to data loss should a user preserve a file without its  "dupli‐
93       cate" (the file itself!).
94
95

AUTHOR

97       Adrian Lopez <adrian2@caribe.net>
98
99
100
101
102                                                                     FDUPES(1)
Impressum