https://github.com/pierrre/file-duplicate
Find duplicate files
https://github.com/pierrre/file-duplicate
duplicate-files go golang
Last synced: 6 months ago
JSON representation
Find duplicate files
- Host: GitHub
- URL: https://github.com/pierrre/file-duplicate
- Owner: pierrre
- License: mit
- Created: 2022-07-19T15:02:21.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-01-12T16:30:29.000Z (6 months ago)
- Last Synced: 2026-01-12T21:59:24.502Z (6 months ago)
- Topics: duplicate-files, go, golang
- Language: Go
- Homepage:
- Size: 322 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# File Duplicate
[](https://pkg.go.dev/github.com/pierrre/file-duplicate)
## Features
- Find duplicate files
- Command line ready to use
- Library that can be integrated in a project
## Usage
```bash
# Local build
make build
./build/file-duplicate -h
# Remote install
go install github.com/pierrre/file-duplicate/cmd/file-duplicate@latest
# Module install
go get github.com/pierrre/file-duplicate@latest
```
## Implementation
- Walk the filesystems
- Group files by identical size
- Compute the SHA256 hash of same size files
- Files with same hash are duplicates