Cross-platform duplicate file finder and cleaner
Project description
dupegun
Fast cross-platform duplicate file finder and cleaner for Windows, Linux and macOS.
Install
pip install dupegun
Commands
# Find duplicates
dupegun scan ~/Downloads
# Skip files under 1 MB
dupegun scan ~/Downloads --min-size 1000000
# Scan multiple folders
dupegun scan ~/Downloads ~/Documents ~/Desktop
# Export to JSON
dupegun scan ~/Downloads --json results.json
# Export to CSV
dupegun scan ~/Downloads --csv results.csv
# Preview what would be deleted (safe)
dupegun delete ~/Downloads --strategy newest
# Actually delete
dupegun delete ~/Downloads --strategy newest --no-dry-run
# Confirm each group before deleting
dupegun delete ~/Downloads --no-dry-run --interactive
# Move duplicates to quarantine
dupegun move ~/Downloads --dest ~/quarantine --no-dry-run
# Replace duplicates with hard links
dupegun hardlink ~/Downloads --no-dry-run
Strategies
| Flag | Keeps |
|---|---|
--strategy shortest |
Shortest file path (default) |
--strategy newest |
Most recently modified copy |
--strategy oldest |
Oldest copy |
Features
- Works on Windows, Linux, macOS
- All file types supported
- 3-pass engine (size → partial hash → full SHA-256)
- Colored terminal output
- Dry-run on by default (safe)
- JSON and CSV export
- Hard link support
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dupegun-1.0.1.tar.gz
(6.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dupegun-1.0.1.tar.gz.
File metadata
- Download URL: dupegun-1.0.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4e0e6e1ca943af1ac6cd06077dca099a37bc78d919f696ca9dda71faef6a98e
|
|
| MD5 |
35d5704d3e2e0691b963052bb9924a41
|
|
| BLAKE2b-256 |
408a192e963afaee4fd4dd1838998af176b0d1bb6259b411162bb55aa9b5a5f2
|
File details
Details for the file dupegun-1.0.1-py3-none-any.whl.
File metadata
- Download URL: dupegun-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41d2148e40d3ae1ac970b16ca68a64891ed09113c1c256aa067d52341271d2d9
|
|
| MD5 |
9c69b91d9b0fb17839a7ad187be01ada
|
|
| BLAKE2b-256 |
b3584a3d31c05ba61eb070ad1f55c67b95105ccb2ff9ac5bc5707872a7b47ecb
|