shell-scripte-code/ocr.sh

3 lines
77 B
Bash
Raw Permalink Normal View History

2022-02-11 11:41:37 +01:00
file=$1
ocrmypdf -l deu --force-ocr --jbig2-lossy ${file} ${file%.*}-ocr.pdf