• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
stripping resource forks from a file.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: stripping resource forks from a file.
      • From: garbanzito <email@hidden>
    • Re: stripping resource forks from a file.
      • From: Malcolm Fitzgerald <email@hidden>
  • Prev by Date: Re: selective string-replace
  • Next by Date: Re: autoInstaller
  • Previous by thread: Apologies
  • Next by thread: Re: stripping resource forks from a file.
  • Index(es):
    • Date
    • Thread