".pdf" File Not Found during Batch Processing of Multiple Files #1424
Closed
JustinKhoh
started this conversation in
General
Replies: 2 comments 1 reply
-
You need the backslash at the end, like so:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi, I've found a solution to my problem: The code first finds a file ending with .pdf in the specified directory. Afterwards, it would perform the OCR procedure on the specified file. The code will do this for all .pdf files in the directory. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've been trying to OCR multiple files in my directory and have inserted in the code below:
find . -printf '%p\n' -name '*.pdf' -exec ocrmypdf '{}' '{}' ;
But I am receiving this error:
File not found - '*.pdf'
Is there something else that I must enter into the code?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions