Added dirs.

This commit is contained in:
dataprolet
2024-03-15 11:49:48 +00:00
parent 9727781899
commit 8e2ed8d04e
2 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/bash
echo "Please select a file to OCR:"
IFS=$'\n'
files=( $(ls | grep pdf) )
declare -a files
select file in ${files[*]}
do
break
done
ocrmypdf -l deu+eng -d -c $file "${file%.*}"-OCR.pdf