Skip to content

Instantly share code, notes, and snippets.

@davesque
Created October 12, 2012 03:54
Show Gist options
  • Save davesque/3877214 to your computer and use it in GitHub Desktop.
Save davesque/3877214 to your computer and use it in GitHub Desktop.
Remove duplicate mails with formail
#!/bin/sh
formail -D 10000000 idcache < "$1" -s > ztmp && mv ztmp "$1"
rm idcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment