Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pouyakary/dup
a tiny and fast command line utility to find the duplicate files within a directory
https://github.com/pouyakary/dup
cli cmd duplicate-detection duplicate-files duplicates filesystem gnu-utilities utility
Last synced: about 9 hours ago
JSON representation
a tiny and fast command line utility to find the duplicate files within a directory
- Host: GitHub
- URL: https://github.com/pouyakary/dup
- Owner: pouyakary
- Created: 2022-03-19T18:09:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-03T15:22:40.000Z (9 months ago)
- Last Synced: 2024-03-18T07:10:46.624Z (8 months ago)
- Topics: cli, cmd, duplicate-detection, duplicate-files, duplicates, filesystem, gnu-utilities, utility
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dup
dup is a tiny and fast command line utility to find the duplicate files within a directory.## Installing
Have yourself the Golang installed. On UNIX machines you can have the GNU Make and run the `make install`, on the windows, run a `go build dup` and put the `dup.exe` where you wish.## Using
```
usage: dup [options]
-h, help displays this help message
-q, quiet stops the software from displaying the results
-r, remove removes the duplicates from the directory
-e, exact compares the files exactly, without normalization
```## What is Normalization?
When you run dup with the `-e` flag, it compares the byte information of the files exactly as they are. However, in the normal mode, it compares a more logical content. For example. In the JPEG files, it first removes the EXIF data, so that if you have two duplicate photos with different save dates, the duplication be revealed.
Copyright 2021-present by Pouya Kary ([email protected])
— _a dragon's lover_