go-dupefinder

command module
v0.0.0-...-29f13a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

README

dupefinder

Application finds duplicate files for the specified directory by computing hash of files. Results are displayed in console grouped by hash

dupefinder - cli tool that finds duplicate files on you file system using sha256 hashing algorithm

Usage:
  dupefinder [params] <root path>
Example:
  dupefinder -e node_modules ./project


Params:
  -e value
        List of excluded folders
  -h    see full help
  -p int
        sets paralelization level for hashing (default 10)
  -st int
        sets size threshold in kb
  -v    version

TODO:

  • Create basic file walker
  • Add basic parameter to cli
  • Add ability to provide more dirs to check
  • Create output variants (text, json, yaml)
  • Add parameter for hash block variable
  • Create parameter for block size
  • Implement lazy equality check (if first block do not match, do not calculate full hash)

Dependencies

project do not have any external dependency

Build

if using windows: go build -o dupefinder.exe .

if using linux: go build -o dupefinder .

Running

To run application find executable and execute following command in terminal:

./dupefinder <root path for recursive search>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL