mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
now compression reports progress...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
586e8758b4
commit
69bc6ccc2b
@ -91,9 +91,20 @@ fi
|
||||
|
||||
|
||||
# do the work...
|
||||
find "$BASE_PATH" -name \*.${EXT} -exec ${ARCH} \; \
|
||||
&& echo done.
|
||||
#find "$BASE_PATH" -name \*.${EXT} -exec ${ARCH} \; \
|
||||
# && echo done.
|
||||
|
||||
IFS=$'\n'
|
||||
ARWs=($(find "$BASE_PATH" -name \*.${EXT}))
|
||||
COUNT=${#ARWs[@]}
|
||||
DONE=1
|
||||
for f in "${ARWs[@]}" ; do
|
||||
echo $f
|
||||
printf 'Doing: %d/%d\r' $DONE $COUNT
|
||||
eval "${ARCH/\{\}/\"$f\"}" > /dev/null
|
||||
DONE=$((DONE + 1))
|
||||
done
|
||||
echo done.
|
||||
|
||||
|
||||
# vim:set nowrap nospell :
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user