Displaying 1 result from an estimated 1 matches for "ahnx".
Did you mean:
ahn
2010 Sep 16
4
DO NOT REPLY [Bug 7685] New: rsync should not set the creation data on the root folder of an HFS+ volume
...uot;
sleep 2
hdiutil create -size 1m -volname HLTarget -fs HFS+ -layout NONE -attach
HLTarget.dmg 1> /dev/null
tgt_dev=`df | awk '/HLTarget/ {print $1}'`
stat -f " %N: Creation date: %B" $target
echo ""
echo "rsyncing /Volumes/HLSource to target."
$rsync -aHNx --include="/" --exclude=".*" --exclude="*" $source/ $target 1>
/dev/null
stat -f " %N: Creation date: %B" $target
echo ""
echo "Unmounting and remounting the target"
diskutil unmount $tgt_dev 1> /dev/null
diskutil mount $tgt_dev 1...