creation date and OSX [performance]

Wayne Davison wayned at
Sun Feb 3 00:02:27 GMT 2008

On Sat, Feb 02, 2008 at 12:18:07AM -0600, Mike Bombich wrote:
> The performance hit is significant, and I'm wondering how safe it is to 
> simply assume that every file has a creation date?

I've been thinking about rewriting that patch so that the creation time
is sent as a time attribute, like the atimes patch, instead of going to
the trouble of faking an xattr value.  This has several advantages,
including only needing a single call to read the value, and also it
might avoid the creation of so many separate xattr objects for the
various files.  The patch for this is now a patch/crtimes branch in git,
and can also be seen here:

This requires the use of a new option, --crtimes (-N -- think "newness")
to get the create times preserved.  If you want -N anytime -t is used,
you might want to add a couple popt aliases to your ~/.popt (or even
/etc/popt) file:

rsync alias -a -aN
rsync alias -t -tN


More information about the rsync mailing list