Sun, 21 Mar 2004 18:09:32 GMT
provided with no warranty or anything related, but:
find . -name 'mbox' -exec ~/bin/zap {} ;
is a shell script that removes duplicate mail from mail.app files by first finding the files, then executing the zap script from script macosxhints.com
#!/bin/sh
formail -D 1000000 idcache < $1 -s > ztmp && mv ztmp $1
rm idcache
all in all, it works well enough to save me quite a bit of space.
it does set all your messages as unread, so be forwarned.
it was made with the help of karlcow and shiruken on #joiito who knew -exec where i was trying |