| 1 |
Introduction |
| 2 |
-------------------------------------------------------------------- |
| 3 |
FDUPES is a program for identifying duplicate files residing |
| 4 |
within specified directories. |
| 5 |
|
| 6 |
|
| 7 |
Usage |
| 8 |
-------------------------------------------------------------------- |
| 9 |
Usage: fdupes [options] DIRECTORY... |
| 10 |
|
| 11 |
-r --recurse for every directory given follow subdirectories |
| 12 |
encountered within |
| 13 |
-R --recurse: for each directory given after this option follow |
| 14 |
subdirectories encountered within (note the ':' at the |
| 15 |
end of the option, manpage for more details) |
| 16 |
-s --symlinks follow symlinks |
| 17 |
-H --hardlinks normally, when two or more files point to the same |
| 18 |
disk area they are treated as non-duplicates; this |
| 19 |
option will change this behavior |
| 20 |
-G --minsize=SIZE consider only files greater than or equal to SIZE bytes |
| 21 |
-L --maxsize=SIZE consider only files less than or equal to SIZE bytes |
| 22 |
-c --cache speed up file comparisons by keeping track of their |
| 23 |
signatures in a database; additional parameters may be |
| 24 |
provided using one or more cache parameters (as below) |
| 25 |
-x cache.OPTION supply an optional cache parameter, where OPTION is one |
| 26 |
of the keywords below and multiple options may be |
| 27 |
supplied via successive -x arguments: |
| 28 |
readonly read but do not update file signatures |
| 29 |
prune look through entire cache and delete orphaned entries |
| 30 |
clear clear all entries from cache |
| 31 |
vacuum reduce size of DB file, if possible |
| 32 |
(note that the options prune, clear, and vacuum may be |
| 33 |
employed without supplying a DIRECTORY argument, and |
| 34 |
will take effect even if readonly is also specified) |
| 35 |
-n --noempty exclude zero-length files from consideration |
| 36 |
-A --nohidden exclude hidden files from consideration |
| 37 |
-f --omitfirst omit the first file in each set of matches |
| 38 |
-1 --sameline list each set of matches on a single line |
| 39 |
-S --size show size of duplicate files |
| 40 |
-t --time show modification time of duplicate files |
| 41 |
-m --summarize summarize dupe information |
| 42 |
-M --quicksummary summarize dupe information quickly, skipping the |
| 43 |
slower byte-for-byte match confirmation |
| 44 |
-q --quiet hide progress indicator |
| 45 |
-d --delete prompt user for files to preserve and delete all |
| 46 |
others; important: under particular circumstances, |
| 47 |
data may be lost when using this option together |
| 48 |
with -s or --symlinks, or when specifying a |
| 49 |
particular directory more than once; refer to the |
| 50 |
fdupes documentation for additional information |
| 51 |
-D --deferconfirmation in interactive mode, defer byte-for-byte confirmation |
| 52 |
of duplicates until just before file deletion |
| 53 |
-P --plain with --delete, use line-based prompt (as with older |
| 54 |
versions of fdupes) instead of screen-mode interface |
| 55 |
-N --noprompt together with --delete, preserve the first file in |
| 56 |
each set of duplicates and delete the rest without |
| 57 |
prompting the user |
| 58 |
-I --immediate delete duplicates as they are encountered, without |
| 59 |
grouping into sets; implies --noprompt |
| 60 |
-p --permissions don't consider files with different owner/group or |
| 61 |
permission bits as duplicates |
| 62 |
-o --order=BY select sort order for output and deleting; by file |
| 63 |
modification time (BY='time'; default), status |
| 64 |
change time (BY='ctime'), or filename (BY='name') |
| 65 |
-i --reverse reverse order while sorting |
| 66 |
-l --log=LOGFILE log file deletion choices to LOGFILE |
| 67 |
-v --version display fdupes version |
| 68 |
-h --help display this help message |
| 69 |
|
| 70 |
Unless -1 or --sameline is specified, duplicate files are listed |
| 71 |
together in groups, each file displayed on a separate line. The |
| 72 |
groups are then separated from each other by blank lines. |
| 73 |
|
| 74 |
When -1 or --sameline is specified, spaces and backslash characters (\) |
| 75 |
appearing in a filename are preceded by a backslash character. For |
| 76 |
instance, "with spaces" becomes "with\ spaces". |
| 77 |
|
| 78 |
When using -d or --delete, care should be taken to insure against |
| 79 |
accidental data loss. While no information will be immediately |
| 80 |
lost, using this option together with -s or --symlink can lead |
| 81 |
to confusing information being presented to the user when prompted |
| 82 |
for files to preserve. Specifically, a user could accidentally |
| 83 |
preserve a symlink while deleting the file it points to. A similar |
| 84 |
problem arises when specifying a particular directory more than |
| 85 |
once. All files within that directory will be listed as their own |
| 86 |
duplicates, leading to data loss should a user preserve a file |
| 87 |
without its "duplicate" (the file itself!). |
| 88 |
|
| 89 |
|
| 90 |
Contact Information for Adrian Lopez |
| 91 |
-------------------------------------------------------------------- |
| 92 |
email: [email protected] |
| 93 |
|
| 94 |
|
| 95 |
Legal Information |
| 96 |
-------------------------------------------------------------------- |
| 97 |
FDUPES Copyright (c) 1999-2019 Adrian Lopez |
| 98 |
|
| 99 |
Permission is hereby granted, free of charge, to any person |
| 100 |
obtaining a copy of this software and associated documentation files |
| 101 |
(the "Software"), to deal in the Software without restriction, |
| 102 |
including without limitation the rights to use, copy, modify, merge, |
| 103 |
publish, distribute, sublicense, and/or sell copies of the Software, |
| 104 |
and to permit persons to whom the Software is furnished to do so, |
| 105 |
subject to the following conditions: |
| 106 |
|
| 107 |
The above copyright notice and this permission notice shall be |
| 108 |
included in all copies or substantial portions of the Software. |
| 109 |
|
| 110 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 111 |
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 112 |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 113 |
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 114 |
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 115 |
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 116 |
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |