v 0.03 - Fixed a bug on batch run. Removed the double braces on line 54 and made them single braces.
This commit is contained in:
parent
5492297657
commit
62f7e4ad0e
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
function Help {
|
function Help {
|
||||||
echo "cbr2cbz Conversion Tool"
|
echo "cbr2cbz Conversion Tool"
|
||||||
echo "Version 0.2"
|
echo "Version 0.3"
|
||||||
echo "https://git.zaks.web.za/thisiszeev/cbr2cbz"
|
echo "https://git.zaks.web.za/thisiszeev/cbr2cbz"
|
||||||
echo
|
echo
|
||||||
echo 'Usage: cbr2cbz single "filename.cbr"'
|
echo 'Usage: cbr2cbz single "filename.cbr"'
|
||||||
|
@ -51,7 +51,7 @@ function Convert {
|
||||||
function BatchRun {
|
function BatchRun {
|
||||||
mkdir -p "/tmp/cbr2cbz"
|
mkdir -p "/tmp/cbr2cbz"
|
||||||
find . -type f -name "*.cbr" > /tmp/cbr2cbz.list
|
find . -type f -name "*.cbr" > /tmp/cbr2cbz.list
|
||||||
files=$(( cat /tmp/cbr2cbz.list | wc -l ))
|
files=$( cat /tmp/cbr2cbz.list | wc -l )
|
||||||
while read -r filename
|
while read -r filename
|
||||||
do
|
do
|
||||||
cbr="$filename"
|
cbr="$filename"
|
||||||
|
|
Loading…
Reference in New Issue