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.9.3.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

findd-0.9.3-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: findd-0.9.3.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3

File hashes

Hashes for findd-0.9.3.tar.gz
Algorithm Hash digest
SHA256 9fc933c3cab6f3098d35d2c11d069ab8200ff9d1bd309fd547f72b0300fca91f
MD5 f7fa303d2596f2ba796d56c9d9663006
BLAKE2b-256 4118d0bad2e79df7bd11c55823e38f8e24e4139a09a9672dd2a30dcf11408881

See more details on using hashes here.

File details

Details for the file findd-0.9.3-py3-none-any.whl.

File metadata

  • Download URL: findd-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3

File hashes

Hashes for findd-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0cf3be4c1fef0deada10a1fccead0d9707c781f0364014088c482b09da4b0704
MD5 a57324f91dfd40b0b3f0f288c497e1ca
BLAKE2b-256 c2646e3b3ca7967856d60d1360494471d048050c852058356b1c9308986562f1

See more details on using hashes here.

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