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