Heya fellow monks!
I need to perform some simple batch edits on about a gazillion Macintosh EPS files. That's easy with perl :-)
The catch is, I need to preserve the PICT previews for these files. I'm no mac guru, but it's my understanding that the preview is stored in the resource fork and the actual data I need to edit is in the data fork of that whacky Mac bipartite file format.
How can I edit the data while preserving the previews?
The files reside on Mac OS 9, so I either have to set up perl there, or transfer the files to another environment (e.g. linux) and somehow get them back intact.
Any assistance would be exceedingly appreciated.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.