Writing to the resource fork
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri May 28 05:18:10 EDT 2010
Thanks, Thierry,
>> I have noticed that I can write the entire resource fork at once
>> using /path/to/file.ext/rsrc (note the additional /rsrc) but this
>> doesn't let me set individual resources.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Economy-x-Talk is always looking for new projects. Contact me for a
quote http://economy-x-talk.com/contact.html
Download Clipboard Link http://clipboardlink.economy-x-talk.com and
share the clipboard of your computer over the local network.
On 28 mei 2010, at 11:12, Thierry wrote:
> Hi Mark,
>
> I just tried this in a Terminal :
>
> TdzMacBook:~ tdz$ echo "WEWEWEE" > x.txt
>
> TdzMacBook:~ tdz$ ls -l x.txt/rsrc
> -rw-r--r-- 1 tdz staff 0 28 mai 11:08 x.txt/rsrc
>
> TdzMacBook:~ tdz$ echo "ASDASDASDDADSASDASDASD" > x.txt/rsrc
>
> TdzMacBook:~ tdz$ ls -l x*
> -rw-r--r--@ 1 tdz staff 8 28 mai 11:09 x.txt
>
> TdzMacBook:~ tdz$ ls -l x.txt/rsrc
> -rw-r--r-- 1 tdz staff 23 28 mai 11:09 x.txt/rsrc
>
> TdzMacBook:~ tdz$ cat x.txt/rsrc
> ASDASDASDDADSASDASDASD
>
> TdzMacBook:~ tdz$ cat x.txt
> WEWEWEE
>
>
>
> If this is OK for you, you can use the shell() to do your job.
>
> HTH.
>
> Thierry
More information about the use-livecode
mailing list