On 2014-07-16, at 9:15 AM, George N. White III wrote:

> I gether you are looking for a command-line tool.  Have you considered "ditto"

Yep. Also failed, although I forgot what it messed up.

I do remember running into the: "ditto foo bar" is not the same as "cp -r foo 
bar" issue.

Ok, retested: same ctime issue for directories.
But it does manage extended attributes, so that's a step up from cp/rsync, and 
the same as tmutil restore (without needing it backed up first).

Ctime is going to be modified whenever a file is created. So it would need to 
be set on the way up on a directory, not when the directory is first made. (Odd 
that the mtimes do get set correctly -- those also get updated on 
file/subfolder creation. So they must be being set on the way up). I suppose 
it's understandable that a generic unix tool doesn't know how to set a Ctime, 
but I thought that the private API used by apple's file manager does support 
changing that. So any apple supplied / apple aware tool would be able to use 
those file manager calls and update things. Right? (Or am I looking for 
something that does not exist?)

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to