https://github.com/thimc/dupmail
tool for removing duplicate mails
https://github.com/thimc/dupmail
cli duplicates-removal fdm imap mbsync offlineimap tool
Last synced: 10 months ago
JSON representation
tool for removing duplicate mails
- Host: GitHub
- URL: https://github.com/thimc/dupmail
- Owner: thimc
- License: mit
- Created: 2023-03-20T16:09:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T22:11:01.000Z (over 1 year ago)
- Last Synced: 2025-06-03T03:54:07.677Z (about 1 year ago)
- Topics: cli, duplicates-removal, fdm, imap, mbsync, offlineimap, tool
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dupmail
dupmail scans a directory that (presumably) contains offline e-mail
files which are usually fetched by programs such as offlineimap,
mbsync or fdm. The program deems a mail a duplicate by comparing
the Message-ID header and in case there isn't one the mail is simply
skipped.
On exit dupmail will print the message id and file paths of all the
duplicates.
## Installation
# go build -o /usr/local/bin/dupmail main.go
## Usage
`dupmail [-d maildir] [-n]`
* `-d` maildir to be scanned
* `-n` scan the maildir but do not delete any files