Displaying 1 result from an estimated 1 matches for "tgt_dev".
Did you mean:
net_dev
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
...ze 1m -volname HLSource -fs HFS+ -layout NONE -attach
HLSource.dmg 1> /dev/null
echo "Creating temporary target disk image (after a delay to guarantee
different creation date)"
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 &...