2014-08-23 10:26:21 +01:00
|
|
|
# fdupes
|
|
|
|
|
2016-10-12 16:58:04 +01:00
|
|
|
> Finds duplicate files in a given set of directories.
|
2019-06-07 11:58:11 +01:00
|
|
|
> More information: <https://github.com/adrianlopezroche/fdupes>.
|
2014-08-23 10:26:21 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Search a single directory:
|
2014-08-23 10:26:21 +01:00
|
|
|
|
2014-09-14 22:29:47 +01:00
|
|
|
`fdupes {{directory}}`
|
2014-08-23 10:26:21 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Search multiple directories:
|
2014-08-23 10:26:21 +01:00
|
|
|
|
2014-09-14 22:29:47 +01:00
|
|
|
`fdupes {{directory1}} {{directory2}}`
|
2014-08-23 10:26:21 +01:00
|
|
|
|
2021-02-04 18:14:01 +00:00
|
|
|
- Search a directory recursively:
|
2014-08-23 10:26:21 +01:00
|
|
|
|
2014-09-14 22:29:47 +01:00
|
|
|
`fdupes -r {{directory}}`
|
2014-08-23 10:26:21 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Search multiple directories, one recursively:
|
2014-08-23 10:26:21 +01:00
|
|
|
|
2014-09-14 22:29:47 +01:00
|
|
|
`fdupes {{directory1}} -R {{directory2}}`
|
2021-02-04 18:14:01 +00:00
|
|
|
|
|
|
|
- Search recursively for duplicates and display interactive prompt to pick which ones to keep, deleting the others:
|
|
|
|
|
|
|
|
`fdupes -rd {{directory}}`
|
|
|
|
|
|
|
|
- Search recursively and delete duplicates without prompting:
|
|
|
|
|
|
|
|
`fdupes -rdN {{directory}}`
|