From 523b47ba579089de73958e3459b1d12bd4628486 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 23 Oct 2011 21:51:36 +0200 Subject: add some scripts Signed-off-by: Florian Pritz --- scan-multi | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scan-multi (limited to 'scan-multi') diff --git a/scan-multi b/scan-multi new file mode 100755 index 0000000..296bab4 --- /dev/null +++ b/scan-multi @@ -0,0 +1,9 @@ +#!/bin/bash + +time=$(date +%Y-%m-%d_%H%M%S) +scanimage -b -x 214.98 -y 294.973 +for img in out*.pnm; do + newfile="${time}_$((i++)).jpg" + convert "$img" "$newfile" && rm "$img" +done + -- cgit v1.2.3-24-g4f1b