RSS | technovelty home | page of ian | ian@wienand.org
Due to a snafu over the weekend my inbox (and every other folder)
managed to get about 15 copies of every single message. Luckily it's
easy to get rid of duplicates with formail (part of the
Debian procmail package).
#!/bin/sh formail -D 1000000 idcache < $1 -s > $1.tmp && mv $1.tmp $1 rm idcache
posted at: Mon, 14 Feb 2005 15:56 | in /linux/tips | permalink | add comment (0 others)

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.