Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathieuancelin/duplicates
Simple CLI tool in golang to find duplicate files
https://github.com/mathieuancelin/duplicates
Last synced: 3 days ago
JSON representation
Simple CLI tool in golang to find duplicate files
- Host: GitHub
- URL: https://github.com/mathieuancelin/duplicates
- Owner: mathieuancelin
- Created: 2015-01-01T11:24:57.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-12T03:18:12.000Z (about 5 years ago)
- Last Synced: 2023-03-11T09:56:26.782Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 24
- Watchers: 2
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# duplicates
File duplicates finder
Sometimes you need to find duplicates files on your disk. You can use this tool to do it. It uses a MD5 hash to identify duplicate files. You can also use some options to filter files by names an minimum size (in bytes).
## usage
```
usage: duplicates [options...] path-h Display the help message
-name Filename pattern
-nostats Do no output stats
-single Work in single threaded mode
-size Minimum size in bytes for a file
```## examples
```
$ duplicates /tmp
$ duplicates -name .mp3 /tmp
$ duplicates -size 2056 /tmp
$ duplicates -size 2056 -name .mp3 /tmp
$ duplicates -nostats -size 2056 -name .mp3 /tmp > duplicates.txt
```## install
* from source
```
go get github.com/mathieuancelin/duplicates
```
* binaries[![Gobuild Download](http://gobuild.io/badge/github.com/mathieuancelin/duplicates/downloads.svg)](http://gobuild.io/github.com/mathieuancelin/duplicates)