Commits

Andy Mikhailenko committed caaf520

Added scan.sh, a wrapper for scanimage.

  • Participants
  • Parent commits a673606

Comments (0)

Files changed (1)

+#!/bin/sh
+
+# prefix is the first argument or "scan" if none
+if [ $1 ]; then PREFIX="$1"; else PREFIX="scan"; fi
+FILENAME="$PREFIX-`date +'%Y-%m-%d_%H-%M-%S'`.jpg"
+
+#scanimage | convert - $FILENAME
+echo Saved as $FILENAME