Re: stripping resource forks from a file.
Re: stripping resource forks from a file.
- Subject: Re: stripping resource forks from a file.
- From: Steve Thompson <email@hidden>
- Date: Thu, 08 Aug 2002 16:32:14 +0100
That makes it easier. Download GTQ
http://www.osaxen.com/gtq_scripting_library.html
And use "Kill Resource Fork"
The download Akua Sweets
http://www.osaxen.com/akua_sweets.html
And use
Set crlf to (ASCII Character 13) & (ASCII Character 10)
Set cr to (ASCII Character 13)
Munge yourtext from cr to crlf
Steve
On 8/8/02 4:08 pm, "Simeon Johnston" <email@hidden>
wrote:
>
Sorry, should have specified. This is an OS 9 script. CVS in OS X
>
doesn't have the problem were having (as the OS X version of the program
>
doesn't use resource forks for it's files).
>
>
sim
>
>
garbanzito wrote:
>
> we had a thread on this earlier.. the following will leave
>
> the file in place and preserve all HFS+ metadata:
>
>
>
> do shell script "cat /dev/null >yourfile/..namedfork/rsrc"
>
>
>
> to convert line endings have a look at the "tr" shell commend
>
_______________________________________________
>
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.
_______________________________________________
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.