Skip to content

Instantly share code, notes, and snippets.

@satmandu

satmandu/ocr

Created Apr 5, 2019
Embed
What would you like to do?
#!/bin/bash
if [ "$1" != "" ]; then
nice -20 ocrmypdf --redo-ocr --pdfa-image-compression lossless --output-type pdfa-2 "$1" "$1"
else
echo "No filename given"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.