Skip to content
/ goduf Public

A simple (but fast) duplicate file finder written in Go [Mirror repository]

License

Notifications You must be signed in to change notification settings

McKael/goduf

Repository files navigation

goduf

Goduf is a fast duplicate file finder. It is a command line tool.

License: GPL v2 Build Status

Usage

The typical usage is very simple:

% goduf DIRS...

Examples:

% goduf /usr/bin
Group #1 (2 files * 76 bytes):
/usr/bin/vam
/usr/bin/vim-addons

Group #2 (2 files * 292 bytes):
/usr/bin/pip
/usr/bin/pip2

Group #3 (3 files * 1134 bytes):
/usr/bin/gajim
/usr/bin/gajim-history-manager
/usr/bin/gajim-remote

Group #4 (2 files * 1303 bytes):
/usr/bin/pdftexi2dvi
/usr/bin/texi2pdf

Group #5 (7 files * 4791 bytes):
/usr/bin/ansible
/usr/bin/ansible-console
/usr/bin/ansible-doc
/usr/bin/ansible-galaxy
/usr/bin/ansible-playbook
/usr/bin/ansible-pull
/usr/bin/ansible-vault

(...)
% goduf -summary /usr/share/doc
2018/04/07 21:48:23 Final count: 5970 duplicate files in 1920 sets
2018/04/07 21:48:23 Redundant data size: 107594575 bytes (102 MiB)

Use goduf -h to get the list of available options.

Note for Windows users: goduf does not normalize paths on Windows, so be careful not to specify the same path twice.

On Linux, hard links are automatically excluded.

Installation:

From the Github mirror:

% go get github.com/McKael/goduf

From my Mercurial repository (upstream):

% hg clone https://hg.lilotux.net/golang/mikael/goduf
% cd goduf
% go build

Please note that if you're not using Go v1.11 yet, you should clone the repository in your $GOPATH.

About

A simple (but fast) duplicate file finder written in Go [Mirror repository]

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages