Let's get some simple things out of the way.
1. When "no magic" occurs (per 1st post), what is the error message in Automator?
Post the exact error message, if any. Look for error messages in Automator's log.
2. Where is exiftool located? Run this command in Terminal:
Copy and paste the output into a post here.
EDIT:
I know too little as well, but I believe the
for f in "$@"
part means it should take every file in the specified folder (the one I rightclick)
First, the mention of a right-click suggests you've created an Automator Service, which you then use from Finder.
Is this what you're doing?
Second, the "$@" input will NOT be every file in the folder you right-click. It will be whatever is selected when you right-click. If that's a folder, it's the pathname of the folder. If that's 12 files in a folder, it's 12 pathnames of the files in that folder.
I suggest stepping away from exiftool for a little while and first making sure the Automator action itself is correct, as well as the way you're running it. Once those basic elements have been confirmed as working correctly, we can go back and change the command to be exiftool.
Start with the default commands in a Run Shell Script action, with
as arguments as the input option. Change the commands to this:
Code:
for f in "$@"
do
echo "$f" >>~/Desktop/TestOut.txt
done
Next, you need to inspect the actual output that's produced when this runs. That output will be in the file "TestOut.txt" that appears on your Desktop. You can open it in TextEdit.app or any text editor.
There will be one line for each argument. You'll be able to see for yourself exactly what happens when you right-click a folder. Make sure you understand what this Automator action does, and what the output means, even though it might not be what you want.
If the output isn't what you want, then post the output, and describe exactly what you want instead.
If there's no output, then say "There's no output, the file is empty", so we know exactly what happened.
For example, if the output is the pathname of a folder you right-clicked, then post the exact output and then say "I want the complete contents of this folder, rather than the folder itself".
We need to know exactly what you want to affect (the outputs), and exactly what the inputs are.