laywerrobot/convertPdf2TxtIndirectory.sh
2020-08-27 21:55:39 +02:00

7 lines
118 B
Bash

pdffiles=($1*.pdf)
for ((i=0;i<=${#pdffiles[@]};i++)); do
pdftotext "${pdffiles[i]}" "${pdffiles[i]}.txt"
done