Automator Question

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.
 

Cory Cooper

Moderator
Joined
May 19, 2004
Messages
11,098
Reaction score
500
Hello and welcome.

That is far beyond my experience with AppleScript/Automator and Terminal shell scripts. Maybe the folks over at MacScripter could help?

C
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top