shell-scripte-code/ocr.sh

2 lines
77 B
Bash
Executable file

file=$1
ocrmypdf -l deu --force-ocr --jbig2-lossy ${file} ${file%.*}-ocr.pdf