Skip to content
/ dedupe Public

python script to hardlink duplicate files

Notifications You must be signed in to change notification settings

jeek/dedupe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

dedupe

python script to hardlink duplicate files

Scan the path storing each file in a list, categorized by file size. Toss out all files under 20M.

Then process each element in the list with more than one file of the same size. For each pair, calculate the sha256 hash. If the hashes match, replace one of the pair with a hardlink to the other.

About

python script to hardlink duplicate files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages