# See https://gergap.wordpress.com/2013/08/10/rsync-and-sparse-files/
# https://stackoverflow.com/questions/19821186/rsync-sparse-does-transfer-whole-data#19827546
echo "Making the first copy of $image to $DEST, which might take a while..."
- $SUDO $RSYNC --sparse $image $DEST/$image
+ time $SUDO $RSYNC --sparse $image $DEST/$image
else
echo "Destination $DEST/$image exists, syncing..."
- $SUDO $RSYNC --inplace $image $DEST/$image
+ time $SUDO $RSYNC --inplace $image $DEST/$image
#
# Sync using libguestfs-tools: mount existing