Last active
March 8, 2024 19:46
-
-
Save tohuuuuu/e92c19dce40295423d6951af08ae665b to your computer and use it in GitHub Desktop.
OCRmyPDF Loop over pdf files in current dir and append _ocr to resulting pdfs (Language: German)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in *.pdf | |
do | |
ocrmypdf -l deu -i "$i" "${i/%.pdf/_ocr.pdf}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment