Analyse all files in a directory and manage duplicate files (the same file present with different names)
Project description
Introduction
This application help you cleaning your filesystem from duplicate files. The duplicate meaning here is: the same file is present with different names.
You can use it in this way:
Usage: pydirduplicatefinder.py [options] [directory] Options: --version show program's version number and exit -h, --help show this help message and exit -a ACTION, --action=ACTION Choose an action to do when a duplicate is found. Valid options are print,rename,move; print is the default. -r, --recursive Also check files in subdirectories recursively. -p PREFIX, --prefix=PREFIX Prefix used for renaming duplicated files when the 'rename' action is chosen. -m PATH, --move-path=PATH The directory where duplicate will be moved when the 'move' action is chosen. -s MIN_SIZE, --min-size=MIN_SIZE Indicate the min size in byte of a file to be checked. Default is 10. Empty file are always ignored.
TODO
Work on more that a folder.
A way to specify filters, to skip files or directory.
Credits
Thanks to Lord Epzylon for sending me some code and modifications.
Subversion and other
The SVN repository is hosted at the Keul’s Python Libraries
Changelog
0.2.0
Added the ‘move’ action.
Added the –recursive option, to walk an entire tree of folders (thanks to Lord Epzylon).
Added the –min-size option, to specify a minimum size of the files to be checked.
0.1.2
Bad bug in the setup.py. Code was ok but the 0.1.1 egg was not installable. Thanks to the everywhere present A. Jung.
0.1.1
Fix to the setup.py script.
Added doc infos.
First egg official release.
0.1.0 - Unreleased
First release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for PyDirDuplicateFinder-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c708502ba05fc1f96688f7f05fa51b3482f9372b39fe18758e2bfef2b06c64a1 |
|
MD5 | 894ef0fec25e52722f45db145ea3bbc1 |
|
BLAKE2b-256 | 8b21c9cd9030125cd87ebaefc1860e1a6de0ff5be4eab83f2b6101f63efd7483 |
Hashes for PyDirDuplicateFinder-0.2.0-py2.5.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73ddb520a0ca28369e874085912228109381ca1626ba4ceff29b6a3f37ab16f5 |
|
MD5 | 47c0a6006596fdb9fa27ece1d9407c78 |
|
BLAKE2b-256 | 492cd13ee123a92e169bcef0e91e660790a77ac74b24c023ad9b1bedc0aa13f0 |