Skip to content

calcuis/cleansor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

cleansor

This is a duplicate file detector and cleansor. It finds all file(s) with the extension name entered 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.

install it via pip:

pip install cleansor

upgrade to the latest version by:

pip install cleansor --upgrade

execute the cleansor by (py/python/python3):

py -m cleansor

Enter your file extension name (without the dot) then you are good to go!