Commit fc97b05d authored by Dmitri Popov's avatar Dmitri Popov

Minor fixes

parent 386f8a5e
......@@ -117,9 +117,8 @@ if [ ! -z "$location" ]; then
fi
fi
results=$(find "$src" -type f -iname "*.JPG" -o -iname "*.ARW")
results=$(find "$target" -type f -iname "*.JPG" -o -iname "*.ARW")
lines=$(echo -e $results | wc -l)
echo
echo "--------------"
echo "Geotagging ..."
......@@ -166,8 +165,8 @@ echo "--------------------------"
echo "Renaming and organizing..."
echo "--------------------------"
echo
exiftool -d %Y%m%d-%H%M%S%%-c.%%e '-FileName<DateTimeOriginal' .
exiftool '-Directory<CreateDate' -d ./%Y-%m-%d .
exiftool -r -d %Y%m%d-%H%M%S%%-c.%%e '-FileName<DateTimeOriginal' "$target"
exiftool -r '-Directory<CreateDate' -d ./%Y-%m-%d "$target"
if [ -f "$json" ]; then
rm "$json"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment