Hi. I run exiftool in terminal and it work very well for me as below:
exiftool '-FileName<DateTimeOriginal' -d %y%m%d%H%M%S%%-c.%%le MyPhotoFolder
Now i want to create a service with automator that run above command for a folder in finder and rename all photos with exif info. I tried that in automator but it doen not work:
for f in "$@"
do
exiftool '-FileName<DateTimeOriginal' -d %y%m%d%H%M%S%%-c.%%le "$f"
done
Any advice?
exiftool '-FileName<DateTimeOriginal' -d %y%m%d%H%M%S%%-c.%%le MyPhotoFolder
Now i want to create a service with automator that run above command for a folder in finder and rename all photos with exif info. I tried that in automator but it doen not work:
for f in "$@"
do
exiftool '-FileName<DateTimeOriginal' -d %y%m%d%H%M%S%%-c.%%le "$f"
done
Any advice?