From: W. Trevor King Date: Tue, 13 Nov 2012 16:17:16 +0000 (-0500) Subject: name-by-date.sh: change default exif field to 'Date and Time (Original)' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=da6c572c5913fcc9b9234cdc90d0d5faa5d88b1c;p=blog.git name-by-date.sh: change default exif field to 'Date and Time (Original)' --- diff --git a/posts/name-by-date/name-by-date.sh b/posts/name-by-date/name-by-date.sh index c5eea1e..571d45f 100755 --- a/posts/name-by-date/name-by-date.sh +++ b/posts/name-by-date/name-by-date.sh @@ -30,6 +30,7 @@ MV=$(which mv) || exit 1 SED=$(which sed) || exit 1 TEST=$(which '[') || exit 1 # but I just use [ in the script +NAME_BY_DATE_FIELD_NAME="${NAME_BY_DATE_FIELD_NAME:-Date and Time (Original)}" while [ -n "$1" ]; do FILE=$1