Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bleh

  • Loading branch information...
commit 3f31d047e27f39f65aa1189b202d2fd97841ac2b 1 parent 4b1ad65
@Dieterbe authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  export/lib.sh
View
2  export/lib.sh
@@ -13,7 +13,7 @@ filename () {
local file=$1
local file_base="$(basename "$file")"
# the tail is needed, because in some rare cases it returns more than 1 date, i know of one example:
- # fotos/originals/dieter-s3/extSdCard_DCIM/Camera/20121228_142756-1.jpg
+ # nas-direct/fotos/originals/dieter-s3/DCIM-Camera/20121228_142756-1.jpg
# and in that case it seems the 2nd date is most appropriate.
local fname=$(exiv2 -g Exif.Image.DateTime -P v "$file" | tail -n 1 | tr ' ' '_')_"$file_base"
echo "$fname"
Please sign in to comment.
Something went wrong with that request. Please try again.