An open API service indexing awesome lists of open source software.

https://github.com/calcuis/duplicate-cleanser

PNG (or any file format) duplicate cleanser (just pull them all in the same directory)
https://github.com/calcuis/duplicate-cleanser

cleanser delete duplicate png

Last synced: 9 months ago
JSON representation

PNG (or any file format) duplicate cleanser (just pull them all in the same directory)

Awesome Lists containing this project

README

          

### deplicate file cleanser
This script first finds all PNG files (edit the code for any file type as you wish) in the current directory and its subdirectories, calculates their hashes, and stores them in a dictionary. If a hash already exists in the dictionary, it means there's a duplicate file. Finally, it deletes the duplicate files found.
#### execute the cleanser by:
```
python cleanser.py
```
Make sure to run this script in the directory where you want to detect and delete duplicate PNG files.