I'm trying to ocr all my PDFs. I've installed ocymypdf.
I'm using an M1 Mac with 12.5.1 Monterey.
The shell I'm using is
- Code: Select all
/bin/zsh
the script I'm trying to run is
- Code: Select all
/opt/homebrew/bin/ocrmypdf "$1" "$1"
I'm getting the error message:
Shellscript exited with non-successful status code: 3
Hazel has full disk access.
'Which ocrmypdf' results in /opt/homebrew/bin/ocrmypdf
I've tried some variations of the shell, which sometimes resulted in other status codes - If I recall correctly, 126 and 127.
Sorry if I mixed some things up. I'm way out of my comfort zone.