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
Release history Release notifications | RSS feed
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.2.tar.gz
(11.9 kB
view hashes)
Built Distribution
findd-0.8.2-py2.py3-none-any.whl
(17.5 kB
view hashes)
Close
Hashes for findd-0.8.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 926ff81b082b32cc6135d30647b3af93436943dc69d33d6dc748d9b7f79c3e71 |
|
MD5 | 2f68a070e3d57a191796f51e8e459b2d |
|
BLAKE2b-256 | 001553b7276f81a5743e169d6ea3f645eb493c3c02fb19e042179e032b99a234 |