#!/bin/bash
-destdir=/some/path # Optional: Fill this in here.
+destdir=
+if [[ -e .default-pic-mv-destdir ]];then
+ destdir=$( < .default-pic-mv-destdir )
+fi
exposure=
rotate=
done
shift `expr $OPTIND - 1`
+if [[ -z "$destdir" ]];then
+ echo "Please specify a destdir with -d or .default-pic-mv-destdir" >&2
+ exit 1
+fi
+
file="$1"
name="$2"