fdupes to remove duplicate files on Linux

Quick and dirty solution to remove all duplicate files but one:

yes 1 | fdupes -rd /path/to/folder


David Hrbáč - Apr 4, 2012

Filip, Thanks, going to push a new spec file to RepoForge. DH

Filip - Mar 5, 2012

Hi Dave. Thanks for this tip on a useful sysutil. The following cmdline options were good to me but it may depend on your fdupes version. See below.

root@ulicnik.ulice:/# fdupes -rndN /mnt/
root@ulicnik.ulice:/# fdupes -v fdupes 1.50.p2