Displaying 1 result from an estimated 1 matches for "xattrdest".
Did you mean:
xattr_set
2006 Nov 10
1
rsync 2.6.9 on OS X. files with xattrs don't retain mtime.
...ce fork in this
case), and I run rsync -aX , the mtime is not preserved. Example:
stat xattrsrc/a
234881026 2894399 -rw------- 1 admin staff 0 1048576 "Nov 10 10:03:01
2006" "Nov 10 10:01:45 2006" "Nov 10 10:01:45 2006" 4096 2056 0
xattrsrc/a
./rsync -ax xattrsrc/a xattrdest/
stat xattrdest/a
234881026 2894405 -rw------- 1 admin staff 0 1048576 "Nov 10 10:03:01
2006" "Nov 10 10:01:45 2006" "Nov 10 10:03:01 2006" 4096 2048 0
xattrdest/a
note the preserved mtime, but stripped resource fork. Now with -X:
./rsync -axX xattrsrc/a xattrdest/...