-q: fix output for file copy

This commit is contained in:
Vincent Riquer 2013-10-06 23:26:29 +02:00
parent abb87fd3a1
commit e7a2c00f2b

View File

@ -44,7 +44,7 @@ copyFiles_action() {
destfileid=${rest%%::AtOM:SQL:Sep::*}
rest=${rest#*::AtOM:SQL:Sep::}
(( count++ ))
printf '\b\b\b\b%3i%%' $(( (count * 100) / ${#copyfiles[@]} ))
(( cron )) || printf '\b\b\b\b%3i%%' $(( (count * 100) / ${#copyfiles[@]} ))
if [ -n "${renamepath["$destination"]}" ]
then
destdir="$(guessPath)" || continue