The following code prints me a long list of files with hashes and file names
md5sum *.java
I have tried unsuccessfully to list the lines where identical hashes occur, so that I can then remove identical files.
How can you filter and delete identical files which have same content?