find and delete duplicates with fdupes

If you think there are many duplicate data on your linux system, you can find duplicate files with following command:
fdupes -rmS /path/to/folder

if you want to delete the duplicates you can use xargs with a specific delimiter
fdupes -rf ./files/ | xargs –delimiter=\\n rm -f

Debian: apt-get install fdupes
Arch/Manjaro: sudo pacman -S fdupes

man page