Find and Remove Duplicate Files

Install Fdupes:

apt install fdupes

Search for duplicate files in directory:

fdupes target.directory

Recursive search in all sub-directories:

fdupes -r target.directory

Delete duplicate files in directory:

fdupes -d target.directory

Recursively delete duplicate files in all sub-directories:

fdupes -r -d target.directory

Leave a Comment

Tested on Ubuntu & Pop OS