rsync-大小,内容,所有者,组,权限,时间相同-仍要复制

时间:2018-12-31 20:34:51

标签: macos backup rsync fat32 apfs

rsync-大小,内容,所有者,组,权限,时间相同-仍要复制

使用macOS Mojave。在源目录中使用默认文件系统(每个apfs使用df?),在目标目录中使用FAT32(每个msdos使用df)。

用尽所有想法。

1 个答案:

答案 0 :(得分:2)

尝试添加--modify-window=1。在rsync手册页中:

--modify-window
          When  comparing  two  timestamps, rsync treats the timestamps as
          being equal if they differ by no  more  than  the  modify-window
          value.   This  is  normally  0 (for an exact match), but you may
          find it useful to set this to a larger value in some situations.
          In  particular,  when  transferring to or from an MS Windows FAT
          filesystem (which represents times with a 2-second  resolution),
          --modify-window=1 is useful (allowing times to differ by up to 1
          second).