Categorygithub.com/abelikoff/find_dups
modulepackage
1.4.0
Repository: https://github.com/abelikoff/find_dups.git
Documentation: pkg.go.dev

# README

find_dups

find_dups is a tool to find duplicate files underneath a given directory.

Installation

    go install github.com/abelikoff/find_dups@latest

(You might need to install GDBM library - in case of Ubuntu, that would be: sudo apt install libgdbm-dev).

Usage

Basic usage

Find all identical files in a given directory:

    find_dups ~/mydir

Files could be excluded from the check by supplying a regular expression via the -X flag.

Caching

find_dups can cache signatures for files it processes to facilitate faster results upon repeated use. Cache can be built in advance (which could be slow as it will calculate signatures for all files in the directory) on on the fly (which will only cache signatures for the files for which they are computed)

To rebuild the cache (slow!):

    find_dups update-cache

By default, cache rebuild is incremental (files that already have cached signatures are not touched). Passing -f flag makes find_dups re-cache all files in the specified directory.

To use cached signatures:

    find_dups -C ~/mydir

# Packages

No description provided by the author