Skip to content
Finds identical files in the directory it's run from and deletes them.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
dupey.py

README.md

Dupey

Finds identical files in the directory (and all sub-directories) it is run from and deleted them.

This script doesnt rely on files names, it compares files by checking their hash.

Table of content

Motivation

I had a whole bunch of music files from backups and on my hard drive. Many of these files were duplicates. I needed a fast way to remove duplicates and thats how this script was born.

Installation & Usage

Installation

Download a copy of the "dupey.py" file to the music folder with the duplicates. The script will search for duplicates in all sub directories.

Usage

python dupey.py

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

21/06/15: v1 published to github.

License

See the LICENSE file in this project's directory.

You can’t perform that action at this time.