|
Would formail be useful?
If those big long files containing multiple mails are complete with headers, then maybe the *nix program formail might make some sense of them. Hmmm, OSX being a BSD thing ... don't guess you'd be lucky enough to actually have that proggy on it? Well, if you can get those files onto a *nix box, or get an OSX copy of formail, a useful incantaion might be "cat {bigfilename} | formail -d -s | cat > $FILENO" (FILENO gets set by formail as a shell environment variable, sequential value for each seperate message encountered.
Course, that's assuming that 1 file per message is useful. Formail might rewrite the whole thing in a useful mbox format file though.
There are responses to this message:
Copyright 2009 The Doc Searls Weblog
|