From e7a2c00f2bd4c18d43f94a7c25bfbe988e83fe53 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Sun, 6 Oct 2013 23:26:29 +0200 Subject: [PATCH] -q: fix output for file copy --- lib/copy/action | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/copy/action b/lib/copy/action index 95bbb4a..a4589dd 100644 --- a/lib/copy/action +++ b/lib/copy/action @@ -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