ocrmypdf --output-type pdf --sidecar --remove-background --deskew --remove-vectors "$1" "$2" mv "$2" "OCR-$2" pdftk "OCR-$2" stamp sample.pdf output "$2" rm "OCR-$2"