Re: Metadata support
Re: Metadata support
- Subject: Re: Metadata support
- From: Boyd Waters <email@hidden>
- Date: Sat, 24 Jun 2006 17:32:11 -0600
On Jun 24, 2006, at 4:05 PM, Tomas Zahradnicky wrote:
Hello,
I've noticed that tar is able to store files' metadata and in order
to preserve it, it adds ._FILENAME file that appears to store
FileInfo and file's resource fork if there's one. Anyone knows if
this process is somewhere documented including the information it
stores beyond the raw resource fork?
My app uses libtar and when I extract everything, I need to
recombine ._files back into their owners. I have written something
that appears to work but would like to be sure I restored
everything I had to.
Doesn't the utility in
/Developer/Tools/FixupResourceForks
do this already? man FixupResourceForks
I think you could use this utility in a shell wrapper to do the trick.
Oh -- it's also in
/System/Library/CoreServices/FixupResourceForks
so you don't need to rely upon developer tools to be installed.
- boyd
Boyd Waters
Socorro, New Mexico
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden