At 11:33 PM +0100 3/21/03, Bart Lateur wrote:
A quick question... what's a simple, proper way to strip the resource
fork from files? In this case, it's all JPEG files, where Photoshop
attached an icon to.

I'm pretty sure something involving Posix::open with use of the
Fcntl::O_RSRC flag could help... (see Mac::Conversions, on CPAN), but
details are still vague to me, and I want to make sure the resource fork
is completely gone, not just empty.

Just use normal file operations to stream the data fork into a new file.


-jeff lowrey

Reply via email to