README.md
author Mikael Berthe <mikael@lilotux.net>
Sat, 07 Apr 2018 21:49:38 +0200
changeset 30 6d8bbf024448
parent 29 687ac60f5f01
child 31 9962a52201ba
permissions -rw-r--r--
Add one more example
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     1
# goduf
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     2
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     3
Goduf is a fast duplicate file finder.
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     4
29
687ac60f5f01 Add README badges
Mikael Berthe <mikael@lilotux.net>
parents: 27
diff changeset
     5
[![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://raw.githubusercontent.com/McKael/goduf/master/LICENSE)
687ac60f5f01 Add README badges
Mikael Berthe <mikael@lilotux.net>
parents: 27
diff changeset
     6
[![Build Status](https://travis-ci.org/McKael/goduf.svg?branch=master)](https://travis-ci.org/McKael/goduf)
687ac60f5f01 Add README badges
Mikael Berthe <mikael@lilotux.net>
parents: 27
diff changeset
     7
27
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     8
## Usage
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     9
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    10
The typical usage is very simple:
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    11
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    12
```
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    13
% goduf DIRS...
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    14
```
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    15
30
6d8bbf024448 Add one more example
Mikael Berthe <mikael@lilotux.net>
parents: 29
diff changeset
    16
Examples:
6d8bbf024448 Add one more example
Mikael Berthe <mikael@lilotux.net>
parents: 29
diff changeset
    17
27
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    18
```
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    19
% goduf /usr/bin
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    20
Group #1 (2 files * 76 bytes):
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    21
/usr/bin/vam
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    22
/usr/bin/vim-addons
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    23
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    24
Group #2 (2 files * 292 bytes):
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    25
/usr/bin/pip
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    26
/usr/bin/pip2
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    27
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    28
Group #3 (3 files * 1134 bytes):
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    29
/usr/bin/gajim
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    30
/usr/bin/gajim-history-manager
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    31
/usr/bin/gajim-remote
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    32
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    33
Group #4 (2 files * 1303 bytes):
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    34
/usr/bin/pdftexi2dvi
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    35
/usr/bin/texi2pdf
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    36
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    37
Group #5 (7 files * 4791 bytes):
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    38
/usr/bin/ansible
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    39
/usr/bin/ansible-console
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    40
/usr/bin/ansible-doc
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    41
/usr/bin/ansible-galaxy
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    42
/usr/bin/ansible-playbook
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    43
/usr/bin/ansible-pull
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    44
/usr/bin/ansible-vault
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    45
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    46
(...)
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    47
```
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    48
30
6d8bbf024448 Add one more example
Mikael Berthe <mikael@lilotux.net>
parents: 29
diff changeset
    49
```
6d8bbf024448 Add one more example
Mikael Berthe <mikael@lilotux.net>
parents: 29
diff changeset
    50
% goduf -summary /usr/share/doc
6d8bbf024448 Add one more example
Mikael Berthe <mikael@lilotux.net>
parents: 29
diff changeset
    51
2018/04/07 21:48:23 Final count: 5970 duplicate files in 1920 sets
6d8bbf024448 Add one more example
Mikael Berthe <mikael@lilotux.net>
parents: 29
diff changeset
    52
2018/04/07 21:48:23 Redundant data size: 107594575 bytes (102 MiB)
6d8bbf024448 Add one more example
Mikael Berthe <mikael@lilotux.net>
parents: 29
diff changeset
    53
```
6d8bbf024448 Add one more example
Mikael Berthe <mikael@lilotux.net>
parents: 29
diff changeset
    54
27
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    55
Use `goduf -h` to get the list of available options.
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    56
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    57
*Note for Windows users*: goduf does not normalize paths on Windows, so be careful not to specify the same path twice.
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    58
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    59
On Linux, hard links are automatically excluded.
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    60
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    61
## Installation:
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    62
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    63
From the Github mirror:
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    64
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    65
```
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    66
% go get hg.lilotux.net/golang/mikael/goduf
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    67
```
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    68
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    69
From my Mercurial repository (upstream):
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    70
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    71
```
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    72
% go get github.com/McKael/goduf
a1b2568b1307 Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    73
```