# Check the similarities using hash
This command generates a MD5 hash for each of image files and compare all of them to see if the images are identical.
```[bash]
$ find . -type f -exec md5sum '{}' ';' | sort | uniq --all-repeated=separate -w 15 > dupes.txt
```
# Find duplicates with specific apps
You can use 'fdupes' to find the duplicated images.
```[bash]
$ fdupes -rSm .
```
If you include the option '-d' it will delete the duplicates (add '-N' to avoid deleting confirmations).
FSlint is also a graphical alternative. This tool finds also other things like bad simlinks and empty directories.