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


Click here to return to the 'Possibly speed copies via Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Possibly speed copies via Terminal
Authored by: ikioi on Jun 09, '07 10:01:28PM
I recently tested various backup tools on mac os X 10.4.9 (Intel) and I found that "cp -Rp" preserves:
  • ACLs
  • Resource Forks
  • HFS+ extended attributes (new arbitrary name value pairs)
  • BSD flags (for example "uchg")
  • all of the Carbon CatalogInfo that I tested (Creator, Type, Label, Finder Flags, and all dates)
  • Most Unix lstat() info (UID, GID, perms, etc)
The only things cp -Rp don't preserve are:
  • hard links (two hard links will be copied as independent files
  • UID and GID of a symlink when they differ from the UID and GID of the target of the link.
  • "inode" number (aka file id or folder id) , but nothing short of dd or ASR in device mode can preserve this.
All in all, unless you want to use ASR/device mode (which is a lot like ghost for windows, and sort of like dd for UNIX ) then SuperDuper and cp are the two most faithful ways of backing up files and their metadata on Mac HFS+ drives. These two did much better than CCC, ditto, ASR/file mode, Synk, hfsrsync, RsyncX, etc, in my tests.

[ Reply to This | # ]
Possibly speed copies via Terminal
Authored by: ikioi on Jun 09, '07 10:09:17PM
Correction: When I said "Carbon CatalogInfo" , I meant "HFS CatalogInfo"

[ Reply to This | # ]