Skip to content

Instantly share code, notes, and snippets.

@henriquegogo
Created January 19, 2013 04:03
Show Gist options
  • Save henriquegogo/4570678 to your computer and use it in GitHub Desktop.
Save henriquegogo/4570678 to your computer and use it in GitHub Desktop.
Clean duplicated emails in mbox files
#!/bin/sh
formail -D 1000000 idcache < $1 -s > $1.tmp && mv $1.tmp $1
rm idcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment