[Cialug] Text file munging
Dave Weis
djweis at internetsolver.com
Thu Jun 18 12:45:36 CDT 2009
I have a bunch of individual email messages from mail.app that have been
disassociated from their mailbox. I have tried copying them into the
messages folder but they don't go because of two lines in the plist at the
end. I need to remove
<key>remote-id</key>
<string>4294</string>
from 20,000 files. The number varies and the location at the end of the
file can move a few lines at a time. I've tried my regex magic on it but
don't have enough to get it working. Any help?
--
Dave Weis
djweis at internetsolver.com
http://www.internetsolver.com/
More information about the Cialug
mailing list