📧 CLI to deduplicate mails from mail boxes
Project description
What is Mail Deduplicate?
Provides the mdedup
CLI, an utility to deduplicate mails from a set of boxes.
Features
- Duplicate detection based on cherry-picked and normalized mail headers.
- Fetch mails from multiple sources.
- Reads and writes to
mbox
,maildir
,babyl
,mh
andmmdf
formats. - Deduplication strategies based on size, content, timestamp, file path or random choice.
- Copy, move or delete the resulting set of duplicates.
- Dry-run mode.
- Protection against false-positives with safety checks on size and content differences.
- Supports macOS, Linux and Windows.
- Standalone executables for Linux, macOS and Windows.
- Shell auto-completion for Bash, Zsh and Fish.
⚠️ Warning: Performances
mdedup
implementation is quite naive at the moment and everything resides in memory.If this is good enough for a volume of a couple of gigabytes, the more emails
mdedup
try to parse, the closer you'll reach the memory limits of your machine. In which casemdedup
will exit abrubtly, zapped by the OOM killer of your OS. Of course your mileage may vary depending on your hardware.You can influence implementation of this feature with pull requests, or purchase of business support 🤝 and sponsorship 🫶.
Example
Installation
From sources
Easiest way is to install mdedup
from sources with pipx
:
$ pipx install mail-deduplicate
Other alternatives installation methods are available in the documentation.
Executables
Standalone executables of mdedup
's latest version are available for several platforms and architectures:
Platform | x86_64 |
arm64 |
---|---|---|
Linux | Download mdedup-linux-x64.bin |
|
macOS | Download mdedup-macos-x64.bin |
Download mdedup-macos-arm64.bin |
Windows | Download mdedup-windows-x64.exe |
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
Built Distribution
File details
Details for the file mail_deduplicate-7.5.0.tar.gz
.
File metadata
- Download URL: mail_deduplicate-7.5.0.tar.gz
- Upload date:
- Size: 30.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6a93d7ed70b4176e427c15c90b735619275d8eca67be5995339f7b8076eb48c |
|
MD5 | 79b951099d413458ec608be31191fcce |
|
BLAKE2b-256 | a0838b84142e6f383d61497aa965124f233d8244c967f2ff58cb7cf4d056c38c |
File details
Details for the file mail_deduplicate-7.5.0-py3-none-any.whl
.
File metadata
- Download URL: mail_deduplicate-7.5.0-py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fce0a56c90070c7c34d5de4f9c1ab36ab7db4efeef153ddd83e9b30b9701b9c6 |
|
MD5 | a822d6cb4dcb32ae570fe0809e73d1e2 |
|
BLAKE2b-256 | 4972b346c7bad1549e0714a24595da9f0c4d1ca4d5b27a455b9ab3c4845348d1 |