Skip to main content

Find duplicate files, based on size and hashvalues.

Project description

Install

$ pip install findd

Usage

$ findd --help
usage: findd [-h] [--version] {init,update,list,run} ...

positional arguments:
  {init,update,list,run}
    init                create a new Findd project
    update              update the index
    list                list duplicates tracked by the index
    run                 run a command for duplicates tracked by the index

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit

Report findd bugs to <https://github.com/schnittstabil/findd/issues>
findd home page: <https://github.com/schnittstabil/findd>

Typical Workflow

$ mkdir temp
$ cd temp
$ findd init
$ ls -A
.findd


# create some duplicates
$ mkdir directory
$ echo a > directory/a.txt
$ echo b > directory/b.txt
$ echo c > directory/c.txt
$ cp -r directory directory_copy
$ tree -a
.
├── directory
   ├── a.txt
   ├── b.txt
   └── c.txt
└── directory_copy
    ├── a.txt
    ├── b.txt
    └── c.txt


$ findd update -v
scanning db 100% |#####################################################|
scanning fs      |#####################################################|
hashing     100% |#####################################################|


$ findd list
'directory/a.txt' 'directory_copy/a.txt'
'directory/c.txt' 'directory_copy/c.txt'
'directory/b.txt' 'directory_copy/b.txt'


# remove a duplicate
$ rm 'directory_copy/c.txt'


$ findd update
$ findd list
'directory/a.txt' 'directory_copy/a.txt'
'directory/b.txt' 'directory_copy/b.txt'

License

Copyright © 2015 Michael Mayer

Licensed under the MIT License.

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

findd-0.8.8.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

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

findd-0.8.8-py2.py3-none-any.whl (18.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file findd-0.8.8.tar.gz.

File metadata

  • Download URL: findd-0.8.8.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for findd-0.8.8.tar.gz
Algorithm Hash digest
SHA256 06c37c2db0141f0faf9a4a8a2e7f088720f31997a5ac603aae7be09bda74c37e
MD5 59e80fc37080071dad708ff1665e8d3c
BLAKE2b-256 74db5d79f46dabb38361a59992f13af83a4f50430a5f0b90283254ce2903fb69

See more details on using hashes here.

File details

Details for the file findd-0.8.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for findd-0.8.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 201f8ae2191b15260b6ad27a4b0309f26c7a608c5cb73731b8766e4b1b8fe0ee
MD5 b8697b94f30c66527d2a5c653646451b
BLAKE2b-256 c604584c84deee8e185f2cec4a7d0cac3fbb3e09aeaf120564b0b04bbc0de82f

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