thc2cat / go-dedup

portable file de-duplication tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-dedup

go-dedup is a portable golang (Windows/Linux) file de-duplication tool.

Description

Go-dedup find files in path arguments, make fast hash with xxhash , and display identical files names.

Options includes deletion, link(linux), interactive deletion, ignore pattern and deletion pattern.

Getting Started

go mod tidy
go build
go install

Executing program

  • How to run the program
  • Step-by-step bullets
$ ./godedup.exe -h
Usage of C:\dev\src\projects\godedup\godedup.exe:
  -S    Silent (no output)
  -f    force relink (even with already linked files)
  -fromFile string
        compare items list from this file
  -ignore string
        ignore file path regexp
  -it
        interactive deletion
  -k    use kryptographic hash ( blake2 instead of xxhash )
  -link
        rm and link
  -maxsize int
        maximal file size(Mo) (default 650)
  -minsize int
        minimal file size (default 4096)
  -path string
        path to dedup (default "/tmp,/dev/null")
  -rm string
        rm regexp (default "%d")
  -toFile string
        output duplicates files in this file

About

portable file de-duplication tool


Languages

Language:Go 99.6%Language:Makefile 0.4%