• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Metadata support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Metadata support


  • Subject: Re: Metadata support
  • From: Q <email@hidden>
  • Date: Sun, 25 Jun 2006 18:02:30 +1000


On 25/06/2006, at 8:05 AM, 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?

Check out copyfile() included in the LibC library on tiger. The source file copyfile.c (in the LibC source bundle from ADC) will tell you everything you need to know about what's in those '._*' files.


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.

If you are making a tiger only app you can just use copyfile() included in LibC, this is what the tiger unix tools like tar, cp, rsync, etc use.


--
Seeya...Q

               -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

                          _____  /  Quinton Dolan - email@hidden
  __  __/  /   /   __/   /      /
     /    __  /   _/    /      /        Gold Coast, QLD, Australia
  __/  __/ __/ ____/   /   -  /            Ph: +61 419 729 806
                    _______  /
                            _\



_______________________________________________
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


  • Follow-Ups:
    • Re: Metadata support
      • From: Dan Shoop <email@hidden>
References: 
 >Metadata support (From: Tomas Zahradnicky <email@hidden>)

  • Prev by Date: Re: Metadata support
  • Next by Date: Re: Metadata support
  • Previous by thread: Re: Metadata support
  • Next by thread: Re: Metadata support
  • Index(es):
    • Date
    • Thread