remove_duplicate_files
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
remove_duplicate_files [2023/06/06 13:56] – created dino | remove_duplicate_files [2024/03/12 21:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
First install package rdfind: | First install package rdfind: | ||
- | < | + | < |
To get a list of duplicate files in our Photos directory, but not take any action, we can tell rdfind to perform a "dry run": | To get a list of duplicate files in our Photos directory, but not take any action, we can tell rdfind to perform a "dry run": | ||
- | rdfind -dryrun true Photos | + | < |
+ | |||
+ | if we want to really remove copies of duplicated files, we can run the following command. This is destructive and will wipe out any duplicates the rdfind tool locates: | ||
+ | |||
+ | < |
remove_duplicate_files.txt · Last modified: 2024/03/12 21:23 by 127.0.0.1