Shirasagi,

I agree with LuKreme that you probably don't want to start mucking with
the mbox files without a MIME aware tool lest you run the risk of
corrupting the mobx. I would not even attempt this w/o perl and
MIME::Tools (or equiv.)

It might be simpler for you to change the Prefs in Apple Mail so that
the "Keep copies of messages for offline viewing" option (under 
Accounts->Advanced) was set to "All messages, but omit attachments"

Good Luck
Matt

On Jan 4, 2011, at 11:14 AM, [email protected] wrote:

> Hello:
> 
> Just joined the group. I hope someone here can help.
> The problem: when I archive my e-mail Inbox (Apple Mail), images and
> graphics are saved as enormously long, unintelligible strings of
> alphanumeric characters. I want to keep the archived "mbox" text files
> but remove these big blocks of text, to reduce the files' sizes.
> Can BBEdit, on its own or using Unix command-line operations, do
> this?
> I suppose the solution is something like this: many of the text
> strings begin with the same set of three or four characters. I want
> the BBEdit script or command to search for these sets, then delete
> them and everything following until it reaches the string "--Apple-
> Mail."
> I'll insanely appreciate any help.
> 
> Cheers,
> 
> shirasagi
> 

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to