From 8a2c18f9fe00319f083483b8e38ff5ccea074095 Mon Sep 17 00:00:00 2001 From: Ze'ev Schurmann Date: Tue, 19 Sep 2023 17:49:12 +0200 Subject: [PATCH] v0.4 - Fixed bug. When a batch is run the number of remaining files did not decrease. --- cbr2cbz.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cbr2cbz.sh b/cbr2cbz.sh index 12bb5a0..b258f0c 100755 --- a/cbr2cbz.sh +++ b/cbr2cbz.sh @@ -2,7 +2,7 @@ function Help { echo "cbr2cbz Conversion Tool" - echo "Version 0.3" + echo "Version 0.4" echo "https://git.zaks.web.za/thisiszeev/cbr2cbz" echo echo 'Usage: cbr2cbz single "filename.cbr"' @@ -18,7 +18,7 @@ function Help { function Convert { echo "Converting: $cbr to $cbz" - echo "Files remaining: $files" + echo "Files remaining: $((files--))" echo sleep 2s unrar e "$cbr" /tmp/cbr2cbz