summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--iso2usb.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/iso2usb.sh b/iso2usb.sh
index ca4bf4e..211fb49 100644
--- a/iso2usb.sh
+++ b/iso2usb.sh
@@ -336,7 +336,6 @@ while [ ! -z "$1" ]; do
;;
-v|--verbose)
VERBOSE=1
- RVERBOSE=" -v --progress "
shift
;;
-w|--wait)
@@ -506,7 +505,13 @@ fi
# Copy the ISO content into the USB Linux partition:
echo "--- Copying files from ISO to USB... takes some time."
-rsync -a ${RVERBOSE} --exclude=EFI ${ISOMNT}/* ${USBMNT}/
+if [ $VERBOSE -eq 1 ]; then
+ rsync -av --progress --exclude=EFI ${ISOMNT}/* ${USBMNT}/
+else
+ # Display some progress because this can take a _long_ time:
+ rsync -a --no-inc-recursive --info=progress2 --exclude=EFI \
+ ${ISOMNT}/* ${USBMNT}/
+fi
# Write down the version of the ISO image:
VERSION=$(iso-info ${SLISO} |grep Application |cut -d: -f2- 2>/dev/null)