User Tools

Site Tools


remove_duplicate_files

This is an old revision of the document!


First install package rdfind:

sudo apt install 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”:

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:

rdfind -deleteduplicates true Photos 
remove_duplicate_files.1686059935.txt.gz · Last modified: 2024/03/12 21:24 (external edit)