aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-02-11 00:04:26 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-02-11 00:04:26 +0100
commit55791c2f391320a2c20e16e8327695bfebc146e8 (patch)
treec50b6cc5bc5697c6fb99413ba421b21108034199
parentda363f50c1087648936ca01f7503cab2847c27b8 (diff)
downloadimagefish-55791c2f391320a2c20e16e8327695bfebc146e8.tar.gz
split rsync
-rwxr-xr-xrun-all.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/run-all.sh b/run-all.sh
index 0f78b40..2c336b1 100755
--- a/run-all.sh
+++ b/run-all.sh
@@ -28,11 +28,15 @@ nilsson)
esac
if test -d "$HOME/repo/images-testing"; then
- # compress images
+ echo "# rsync uncompressed images"
+ rsync --verbose --progress \
+ *.raw *.qcow2 $HOME/repo/images-testing
+
+ echo "# compress images"
rm -f *.xz
xz --verbose --keep *.raw *.qcow2
- # store images
+ echo "# rsync compressed images"
rsync --verbose --progress \
- *.raw *.qcow2 *.xz $HOME/repo/images-testing
+ *.xz $HOME/repo/images-testing
fi