This script works with the bash:
GNU bash, Version 5.0.17(1)-release (x86_64-pc-linux-gnu). Version 4.X should also work.
./extractor.sh
GNU bash, Version 5.0.17(1)-release (x86_64-pc-linux-gnu). Version 4.X should also work.
./extractor.sh
Code:
#!/bin/bash
for qq in A B C D E F G H I J K L M N O Q S T
do
./ivtt +Q${qq} ZL.txt temp.txt >&/dev/null
for pp in A B C D E F G H I J K L M N O P Q R S T U V W X
do
echo -en "\015\033[Kwrite ${qq}${pp}.txt"
./ivtt -x8 +P${pp} temp.txt ${qq}${pp}.txt >&/dev/null
done
rm temp.txt
done
echo
echo done
find . -name '*.txt' -type f -empty -delete(28-10-2020, 11:34 AM)ReneZ wrote: You are not allowed to view links. Register or Login to view.If a page does not exist, the file will be created but will be empty. It could be removed with another line in the script.I have added a line to delete the empty text files. There remain 227 files.
(28-10-2020, 03:34 PM)ReneZ wrote: You are not allowed to view links. Register or Login to view.One might want to see something happening when executing a script like this, which will take some time to complete, so one "echo" command in the outer loop might be nice.Echo is inserted ( pretty fast ).

