OS X Resource Forks

(Steve Zich) #1

Howdy -

Does anyone know how to access resource forks that are associated with a file in OS X?

Thanks

Steve

#2

Hi,

Steve Zich <szich at clearbiz dot com> wrote:

Does anyone know how to access resource forks that are associated with
a file in OS X?

If you're working with Ruby on Mac OS X, you should be able to get them
via the "default way" with 'filename/rsrc' (you might want to look at
<http://www.kernelthread.com/mac/osx/arch_fs.html>). On other systems
and "flat" file systems these Forks are stored in various ways that
differ from solution to solution (Netatalk stores them in '.AppleDouble'
folders, Mac OS X puts them into '._filename' files, etc.)

Regards,

Dominik.

(Steve Zich) #3

Worked like a charm!

Many Thanks,

Steve

···

On 2005-08-17 15:13:12 -0700, schlu-do@gmx.net (Dominik Schlütter) said:

Hi,

Steve Zich <szich at clearbiz dot com> wrote:

Does anyone know how to access resource forks that are associated with
a file in OS X?

If you're working with Ruby on Mac OS X, you should be able to get them
via the "default way" with 'filename/rsrc' (you might want to look at
<http://www.kernelthread.com/mac/osx/arch_fs.html>). On other systems
and "flat" file systems these Forks are stored in various ways that
differ from solution to solution (Netatalk stores them in '.AppleDouble'
folders, Mac OS X puts them into '._filename' files, etc.)

Regards,

Dominik.