Skip to main content

adding number

Project description

Intro

In many situations you may find yourself having duplicates files on your disk and but when it comes to tracking and checking them manually it can tedious.

Heres a solution

Instead of tracking throughout your disk to see if there is a duplicate, you can automate the process using coding, by writing a program to recursively track through the disk and remove all the found duplicates and that's what this article is about.

But How do we do it?

If we were to read the whole file and then compare it to the rest of the files recursively through the given directory it will take a very long time, then how do we do it The answer is hashing, with hashing can generate a given string of letters and numbers which act as the identity of a given file and if we find any other file with the same identity we gonna delete it.

There's a variety of hashing algorithms out there such as

  • md5
  • sha1
  • sha224, sha256, sha384 and sha512

Lets install this python library to remove the Duplicate file in the existing Working directory by "pip install DPL_SB2"

Contribution Guideline:

Feel free to open a PR if you feel like something needs to be added or you want to suggest something then your commit message should be in given format: added to -->resource_name-->section_name

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DPL_SB2-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file DPL_SB2-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: DPL_SB2-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for DPL_SB2-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9cfa1ed00d5442475361f1df35837002a03f26aee8e0a7447581b8d7656f6db1
MD5 8cc21eddc4d00c221d1a201eb3e23e08
BLAKE2b-256 939e5a53b5a82c65f466626b8281dd7ed4e696c4697f518ce724ca241d132ed4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page