projects
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
890072a
)
name-by-date.sh: change default exif field to 'Date and Time (Original)'
author
W. Trevor King
<wking@tremily.us>
Tue, 13 Nov 2012 16:17:16 +0000
(11:17 -0500)
committer
W. Trevor King
<wking@tremily.us>
Tue, 13 Nov 2012 16:17:16 +0000
(11:17 -0500)
posts/name-by-date/name-by-date.sh
patch
|
blob
|
history
diff --git
a/posts/name-by-date/name-by-date.sh
b/posts/name-by-date/name-by-date.sh
index c5eea1e69bb94b19aa8427a37ca3199438b2f9ff..571d45fd3a957c0dbf9426f467518a074cbd9753 100755
(executable)
--- 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