aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/sync-guestfs
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/sync-guestfs')
-rwxr-xr-xshare/hydractl/sync-guestfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/sync-guestfs b/share/hydractl/sync-guestfs
index 96e74cd..4055c0a 100755
--- a/share/hydractl/sync-guestfs
+++ b/share/hydractl/sync-guestfs
@@ -59,10 +59,10 @@ DEST_MOUNT="`mktemp -d $TMP/sync-guestfs-dest.XXXXXXXXXX`"
# 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