OCR and ocrmypdf embedded script

Hi,
New to scripting and python but I figured with a bit of help I could get this to work.
I'm trying to use ocrmypdf which I've installed via homebrew.
Thus far I've had no success; here is where i am currently.
Shell: bin/bash
however bin/bash says to use $1 in place of the file name which is confusing to me since ocrpdf demands that I have input.pdf output.pdf in the code.
Any help would be greatly appreciated.
New to scripting and python but I figured with a bit of help I could get this to work.
I'm trying to use ocrmypdf which I've installed via homebrew.
Thus far I've had no success; here is where i am currently.
Shell: bin/bash
- Code: Select all
ocrmypdf --rotate-pages --deskew input.pdf output.pdf
however bin/bash says to use $1 in place of the file name which is confusing to me since ocrpdf demands that I have input.pdf output.pdf in the code.
Any help would be greatly appreciated.