- Joined
- Sep 29, 2019
- Messages
- 2
- Reaction score
- 0
Hello, I am new to the forum.
I have this script below:
exiftool "-alldates<filename" "-filecreatedate<filename" "-filemodifydate<filename" DIR
I am trying to create a folder action, quick action or application in automator that I can drag and drop files into and it run this script.
My problem is this script asks for a directory (DIR) is there a way in automator to have it reference the directory of the inputed files in the script itself or a way to rewrite the script properly so it references the inputed files as the directory?
Or can I use applescript instead of Shell script?
Any help is appreciated.
I have this script below:
exiftool "-alldates<filename" "-filecreatedate<filename" "-filemodifydate<filename" DIR
I am trying to create a folder action, quick action or application in automator that I can drag and drop files into and it run this script.
My problem is this script asks for a directory (DIR) is there a way in automator to have it reference the directory of the inputed files in the script itself or a way to rewrite the script properly so it references the inputed files as the directory?
Or can I use applescript instead of Shell script?
Any help is appreciated.