GithubHelp home page GithubHelp logo

xyb / chunkdup Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 92 KB

Find (partial content) duplicate files.

License: MIT License

Python 99.62% Makefile 0.38%
content-defined-chunking deduplication fastcdc rolling-hash dedup

chunkdup's Introduction

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

chunkdup's People

Contributors

xyb avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.