Find duplicate files and create delete-file
From WickyWiki
201103 Bash, Commandline
Options:
- -r recursive - NB: this can take some time
- -n ignore empty files
- -f ommit first occurences
- Note: the exact order is not quite clear, it will help to do dirs seperately
- -S show size
- -d delete (prompted)
fdupes -r -n -f ~ > fdupes_list.txt