paint-brush
How to Remove all Duplicate Files on your Drive via Pythonby@kalebujordan
4,767 reads
4,767 reads

How to Remove all Duplicate Files on your Drive via Python

by Kalebu Jordan 12mOctober 13th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How to Remove all Duplicate Files on your Drive via Python using Python programming. Python programming can ultimately save a lot of space on your drive by removing all the duplicates. We are going to use Python's OS deleting tool to remove all the duplicate files on our drive. We will use the Python standard library to use hashlib to hash a string in Python using md5 and hexdigest to generate a binary hash of a given file. The value of the generated hash doesn't change as long as it's the same file.

Company Mentioned

Mention Thumbnail
featured image - How to Remove all Duplicate Files on your Drive via Python
Kalebu Jordan  HackerNoon profile picture
Kalebu Jordan

Kalebu Jordan

@kalebujordan

I'm a Mechatronics engineer | Pro Python Developer | AI Enthusiast

Learn More
LEARN MORE ABOUT @KALEBUJORDAN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Kalebu Jordan  HackerNoon profile picture
Kalebu Jordan @kalebujordan
I'm a Mechatronics engineer | Pro Python Developer | AI Enthusiast

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite