As the subject says I'm looking for a way to delete duplicate files automatically. I know I could run the command fdupes -rdN but that automatically chooses the first file while deleting the second.
Asking because my dupes are listed similar to this
/Documents/123Testfile.txt /Documents/Testfile.txt /Documents/84579875blahblahblahSecondTestfile.txt /Documents/SecondTestfile.txt
Checked the man pages and either I missed it or couldn't find an option where the first file was automatically deleted. Anyone know of a way to make this happen?
Thanks in advance