diff options
Diffstat (limited to 'home-manager/packages')
-rwxr-xr-x | home-manager/packages/scripts/apps/con2pdf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/home-manager/packages/scripts/apps/con2pdf b/home-manager/packages/scripts/apps/con2pdf index 2fb59d2d..334749ab 100755 --- a/home-manager/packages/scripts/apps/con2pdf +++ b/home-manager/packages/scripts/apps/con2pdf @@ -53,6 +53,7 @@ scan() { tiff_temp_path="$(mktmp -d)"; cd "$tiff_temp_path" || die "Bug" + msg "Started scanning..."; for i in $(seq "$number_of_pages");do do_until_success \ "scanimage --format=tiff --progress --source='$method' --device='$device' --batch=%d.tif --batch-increment='$number_of_pages' --batch-start='$i'" \ @@ -65,10 +66,12 @@ scan() { fi done + msg "Creating output directory..."; mkdir "$output_directory"; cd "$output_directory" || die "Bug" counter=0; + msg "Converting images to pdfs..."; while read -r scanned_image_a;do if [ "$number_of_pages" -ne 1 ];then scanned_image_b_set=false; |