cp doesn't copy

Dinko

Registered
Hello,

I found something that might sound trivial but I find it strange. The UNIX command cp doesn't copy Mac files correctly. Somehow it doesn't get the creator and the file type right. I found this strange as I thought that the type and the creator were stored with the file. This does not seem to be the case (I compared two copies, one made by cp and the other by CpMac and they were the same). So I was wondering were MacOS X stores all these things (creator and file type for every file). Is it in this strange .DS_Store file ?

Thank you,

Romain
 
Well, the full method for accessing the resource fork is to append /..namedfork/rsrc to the filename; you can also append /..namedfork/data to it, instead, to access the data. I guess the big question is how to list what forks are in a file.
 
Back
Top