An open API service indexing awesome lists of open source software.

https://github.com/metaory/xdedup

find and remove duplicates
https://github.com/metaory/xdedup

cli duplicate-detection

Last synced: 6 months ago
JSON representation

find and remove duplicates

Awesome Lists containing this project

README

          


xdedup


find and remove duplicates

---

designed for large drives, with terabytes of data,
jobs that could take even hours,
with stored hash results on disk for intrupted jobs,
so you can stop a long job mid way and continue later,
the default hashing function is `b3sum` [BLAKE3](http://archlinux.org/packages/extra/x86_64/b3sum/)
you can provide your hashing tool with `--tool` option,
to use other hashing functions like `sha256sum`, `sha512sum`, `md5sum`, ...
by default it only looks for `mkv` video files,
but you can set the extension to look for with `--ext` option,
setting `*` would look for any file

```bash
xdedup
--plan create a delete script instead of deleting
--dry-run perform a trial run with no changes made
--ext EXT file extensions to look for, set * for any (default: mkv)
--tool NAME hashing tool (default: b3sum)
-h, --help show this help
```

## Installation

```bash
# Clone the repo
git clone git@github.com:metaory/xdedup.git

# Navigate to repo
cd xdedup

# Give execution permissions
chmod +x xdedup

# Link it somewhere in your PATH
ln -svf $PWD/xdedup /usr/bin/xdedup

# Use it anywhere
xdedup
```

## License

[MIT](LICENSE)