Skip to main content

Find (partial content) duplicate files.

Project description

chunkdup

Find (partial content) duplicate files using chunksum outputs.

test codecov Maintainability Latest version Support python versions

usage: chunkdup [-h] [chunksums1] [chunksums2]

Find (partial content) duplicate files.

positional arguments:
  chunksums1  path to chunksums
  chunksums2  path to chunksums

optional arguments:
  -h, --help  show this help message and exit

Examples:

  $ chunksum dir1/ -f chunksums.dir1
  $ chunksum dir2/ -f chunksums.dir2
  $ chunkdup chunksums.dir1 chunksums.dir2
usage: chunkdiff [-h] [-b BAR] [-w BARWIDTH] [-n] [-s CHUNKSUMS]
                 [file1] [file2]

Show the difference of two files.

positional arguments:
  file1                 path to file
  file2                 path to file

optional arguments:
  -h, --help            show this help message and exit
  -b BAR, --bar BAR     the style of bar. default: oneline
  -w BARWIDTH, --barwidth BARWIDTH
                        the width of bar. default: 40
  -n, --nocolor         do not colorize output. default: False
  -s CHUNKSUMS, --chunksums CHUNKSUMS
                        path to chunksums file

Examples:

  $ chunksum dir1/ -f chunksums.dir1
  $ chunksum dir2/ -f chunksums.dir2

  $ chunkdiff chunksums.dir1 chunksums.dir2 dir1/file1 dir2/file2

  $ chunkdiff chunksums chunksums ./file1 ./file2

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

chunkdup-0.5.0.tar.gz (12.1 kB view hashes)

Uploaded Source

Built Distribution

chunkdup-0.5.0-py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 3

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