
On 01/03/2015 04:54 PM, Lennart Sorensen wrote:
On Sat, Jan 03, 2015 at 04:50:49PM -0500, David Collier-Brown wrote:
I'm after pictures and email, and can probably do a trick with strings to find JPEGs, find and grep to find mailboxes and addressbooks. Once you mount the HFS filesystem on linux you can actually get the resource fork too by doing:
ls /hfsmnt/filename ls /hfsmnt/filename/rsrc
So if you need the resource fork, it can actually be accessed if you know about the special /rsrc option (so essentially pretend the file is a directory with a file inside called rsrc).
It won't show in ls that /rsrc exists since afer all the file is a file, not a directory.
If a file has no resource fork, then you get an error if you try to access /rsrc.
Excellent, thanks! --dave -- David Collier-Brown, | Always do right. This will gratify System Programmer and Author | some people and astonish the rest davecb@spamcop.net | -- Mark Twain