advertisement

Article:
  Automated Backups on Tiger Using rsync
Subject:   Beware rsync's huge bug...
Date:   2005-07-22 16:18:17
From:   mechanist
Rsync is fantastic for backups... except if you use the version included with Tiger, as described in this article, you'll likely encounter a big honking bug.


Beginning with Tiger there's the "-E" option that specifies "extended" attributes such as resource forks should be copied. Great, right? But if you use "-E" and "-a" (archive) together, as you would for a backup, the modification dates of the copied files will be incorrect.


With "-a" the modification date of the copied file should be the same as that of the original. But with "-a" and "-E", and when the file has a resource fork, the modification date of the copied file will match the date OF THE COPY, not of the original file.


I reported this to Apple for 10.4; they marked it as a duplicate. The bug is still present in 10.4.2.


For now you're better off using the version of rsync included with RsyncX.


1 to 3 of 3
  1. Beware rsync's huge bug...
    2005-09-28 02:02:32  maceis [View]

  2. Beware rsync's huge bug...
    2005-07-23 23:35:44  KonradHosemann [View]

    • Beware rsync's huge bug...
      2005-07-26 15:00:58  mechanist [View]

  3. Beware rsync's huge bug...
    2005-07-22 16:31:15  Corvus [View]

    • Beware rsync's huge bug...
      2005-07-23 15:10:41  joseph p.muscara [View]

      • Beware rsync's huge bug...
        2005-07-24 05:06:54  Corvus [View]

      • Beware rsync's huge bug... (and more)
        2005-07-24 02:49:48  Alexander_Lamb [View]

        • Beware rsync's huge bug... (and more)
          2009-04-23 19:11:22  lucidsystems [View]

        • Beware rsync's huge bug... (and more)
          2007-08-30 04:20:30  Blue80 [View]

1 to 3 of 3