Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Resource Forks...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Resource Forks...
Authored by: Mechanist on Sep 29, '07 04:28:16PM

As far as I know it's correct that the tar file format doesn't support resource forks. What the Mac OS X version of tar does is transparently convert files with resource forks to "AppleDouble" format, which just means that the resource fork gets put into the data fork of a secondary file. So if foo.jpg has a resource fork, the tar file contains foo.jpg with no resource fork as well as ._foo.jpg, which is a data-fork file containing the resrouce-fork info. When you extract the file the forks are restored.

If duplicity makes use of the on-board Mac OS X version of tar then it should be OK for resource forks, but if it builds the files some other way then it probably isn't.



[ Reply to This | # ]