diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-07-06 15:09:08 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-07-06 15:09:08 +0200 |
commit | 0847d3c7ef77d55a6e6070b6f3da4a6c20efaa1a (patch) | |
tree | 9417966024b73b7ba7cb69c4975d2b755430e759 | |
parent | cf7d8ad8ecbe6122d064d574913ad029492958da (diff) | |
download | imagefish-0847d3c7ef77d55a6e6070b6f3da4a6c20efaa1a.tar.gz |
tweak push-images
-rwxr-xr-x | push-images.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/push-images.sh b/push-images.sh index a344af2..8ee7366 100755 --- a/push-images.sh +++ b/push-images.sh @@ -3,7 +3,7 @@ dest="$HOME/repo/images-testing" if test ! -d "$dest"; then - echo "# not found: $dest" + echo "# destdir not found ($dest)" exit fi @@ -13,21 +13,21 @@ images=$(ls ${IMAGEFISH_DESTDIR-.}/*.raw \ count=$(echo $images | wc -w) if test "$count" = "0"; then - echo "# no images" + echo "# no images found" exit fi echo -echo "# rsync $count uncompressed images" +echo "# rsync $count uncompressed image(s)" rsync --verbose --progress $images $dest echo -echo "# compress $count images" +echo "# compress $count image(s)" rm -f ${IMAGEFISH_DESTDIR-.}/*.xz xz --verbose --keep $images echo -echo "# rsync compressed images" +echo "# rsync compressed image(s)" rsync --verbose --progress \ ${IMAGEFISH_DESTDIR-.}/*.xz \ $dest |