All Questions
2
questions
1
vote
2
answers
378
views
How to scan with ocr bash script
To streamline the scan process I intend to create a script that scans and applies OCR in one step. However my bash skills are rather poor, so I would be very thankful for a bit of help. Here my ...
0
votes
1
answer
145
views
Make (`ocrmypdf`) command run in terminal AND include input name in that of the output
I have this line inside a Dolphin service-menu file that contains many other commands for PDF processing:
Exec=bash -c 'f="%u"; ocrmypdf "$f" "${f%.pdf}_ocr.pdf";'
It ...