aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-05-26 13:55:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-05-26 13:55:58 -0300
commit69f7085e704b038ad092112a7c43959b6859790f (patch)
tree0978507d632bb3ac03b13987ab1928c3a4268eee /share/hydractl
parent04056b925a9e081299b9a4cf7a721905afd51750 (diff)
downloadhydra-69f7085e704b038ad092112a7c43959b6859790f.tar.gz
hydra-69f7085e704b038ad092112a7c43959b6859790f.tar.bz2
Show progress for rsync transferts at sync-tpc
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/sync-tpc14
1 files changed, 7 insertions, 7 deletions
diff --git a/share/hydractl/sync-tpc b/share/hydractl/sync-tpc
index 260f5ee..429cf9e 100755
--- a/share/hydractl/sync-tpc
+++ b/share/hydractl/sync-tpc
@@ -32,13 +32,13 @@ for folder in /mnt/crypt/home/*; do
done
# Sync files
-$SUDO rsync -av --delete /home/ $DEST/home/
-$SUDO rsync -av --delete /var/cache/virtualbox/ $DEST/var/cache/virtualbox/
-$SUDO rsync -av --delete /var/cache/qemu/ $DEST/var/cache/qemu/
-$SUDO rsync -av --delete /var/cache/vagrant/ $DEST/var/cache/vagrant/
-$SUDO rsync -av --delete /var/cache/pbuilder/ $DEST/var/cache/pbuilder/
-$SUDO rsync -av --delete /var/chroot/ $DEST/var/chroot/
-$SUDO rsync -av --delete /var/lib/wicd/ $DEST/var/lib/wicd/
+$SUDO rsync -av --delete --progress /home/ $DEST/home/
+$SUDO rsync -av --delete --progress /var/cache/virtualbox/ $DEST/var/cache/virtualbox/
+$SUDO rsync -av --delete --progress /var/cache/qemu/ $DEST/var/cache/qemu/
+$SUDO rsync -av --delete --progress /var/cache/vagrant/ $DEST/var/cache/vagrant/
+$SUDO rsync -av --delete --progress /var/cache/pbuilder/ $DEST/var/cache/pbuilder/
+$SUDO rsync -av --delete --progress /var/chroot/ $DEST/var/chroot/
+$SUDO rsync -av --delete --progress /var/lib/wicd/ $DEST/var/lib/wicd/
# Sync config
$SUDO mkdir -p /etc/wicd