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.0.tar.gz
(6.5 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.0.tar.gz.
File metadata
- Download URL: dupegun-1.0.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
916cbe7abdf108b55a35847b19153d9bc6c3f8d7feccedc27b6ec88d106e21b7
|
|
| MD5 |
d580519190381591ca2529cfb4b729b5
|
|
| BLAKE2b-256 |
4fcf5fd8c08d30598c5bdd521d8ab2641aff257aa4c470890d0c97b1175bc026
|
File details
Details for the file dupegun-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dupegun-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.1 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 |
3345597e4303f765b016c0b7ae6d70d7398110071b4c818d72370cb7bdbb7392
|
|
| MD5 |
062fcf3620e005f7550aaf10455bb557
|
|
| BLAKE2b-256 |
ddbdd89a409544e91d2ba443868b79bd87c0bfcb448343082c8404f9889e5191
|