Skip to main content

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

PyDirDuplicateFinder-0.2.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

PyDirDuplicateFinder-0.2.0-py2.5.egg (9.2 kB view hashes)

Uploaded Source

Supported by

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