stripping resource forks from a file.
stripping resource forks from a file.
- Subject: stripping resource forks from a file.
- From: Simeon Johnston <email@hidden>
- Date: Wed, 07 Aug 2002 16:08:59 -0500
I need to strip the resource forks out of a text file.
The problem is that we have a cvs server and are using maccvs to update
to/from etc.
The files that are going to be used are just text files. But the
program that create's them add's resource forks (just a custom icon
really). This causes cvs to read it as a binary file.
Unless of course anyone here know's a way around this I'd like to strip
the resource fork out of the file before it is commited to the cvs
server. It would also be nice to reformat it as *nix text rather than
mac (basically changing the line endings from carriage return to line feed).
Anyone have any idea how to do this with straight applescipt?
It could also be done with BBEdit or some such (save the file as a
generic text file) but I'd rather not add additional app's into the
process unless necessary (or if it makes it that much easier/safer).
sim
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.