mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-23 19:51:53 +00:00
Compare commits
No commits in common. "f312eee12f0214c8a3949ff0e1899c58f123e04c" and "586e8758b4aac32b8e8d6d1b96f6ebf588f2918d" have entirely different histories.
f312eee12f
...
586e8758b4
@ -91,20 +91,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# do the work...
|
# do the work...
|
||||||
#find "$BASE_PATH" -name \*.${EXT} -exec ${ARCH} \; \
|
find "$BASE_PATH" -name \*.${EXT} -exec ${ARCH} \; \
|
||||||
# && echo done.
|
&& 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 :
|
# vim:set nowrap nospell :
|
||||||
|
|||||||
@ -288,8 +288,6 @@ while true ; do
|
|||||||
|
|
||||||
while true ; do
|
while true ; do
|
||||||
echo "Copying files from ${BASE}${DRIVE} (~`du -hs "${BASE}${DRIVE}" | cut -f 1`)..."
|
echo "Copying files from ${BASE}${DRIVE} (~`du -hs "${BASE}${DRIVE}" | cut -f 1`)..."
|
||||||
echo "# $COPY $COPYFLAGS ${BASE}${DRIVE}/* "$DIR""
|
|
||||||
echo "# 2> >(tee "${DIR}"/copy-err.log)"
|
|
||||||
$COPY $COPYFLAGS ${BASE}${DRIVE}/* "$DIR" \
|
$COPY $COPYFLAGS ${BASE}${DRIVE}/* "$DIR" \
|
||||||
2> >(tee "${DIR}"/copy-err.log)
|
2> >(tee "${DIR}"/copy-err.log)
|
||||||
# no errors -> remove log...
|
# no errors -> remove log...
|
||||||
@ -356,10 +354,10 @@ if [[ $DO_COMPRESS ]] ; then
|
|||||||
echo "Compressing archive: done."
|
echo "Compressing archive: done."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -z "$SNAPSHOT" ] \
|
##if ! [ -z "$SNAPSHOT" ] \
|
||||||
&& [ -e "$SNAPSHOT" ] ; then
|
## && [ -e "$SNAPSHOT" ] ; then
|
||||||
eval "$SNAPSHOT"
|
## "$SNAPSHOT"
|
||||||
fi
|
##fi
|
||||||
|
|
||||||
# XXX add report...
|
# XXX add report...
|
||||||
# XXX
|
# XXX
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user