so what i would like to be able to do, rather than trying to remember that and having to type it every time, is run a script that prompts for the 2 files (source and destination) and then runs the script
of course this is possible.
Either with Automator (Run AppleScript action)
on run {input, parameters}
set s to quoted form of POSIX path of (choose file with prompt "choose source file" without invisibles)
set d to quoted form of POSIX path of (choose file name with prompt "choose destination")
do shell script "exiftool -all= -tagsfromfile " & s & " -exif:all " & d
return input
end run
or as an AppleScript applet, saved as an application
set s to quoted form of POSIX path of (choose file with prompt "choose source file" without invisibles)
set d to quoted form of POSIX path of (choose file name with prompt "choose destination")
do shell script "exiftool -all= -tagsfromfile " & s & " -exif:all " & d
I had just been trying with the default actions in automator, and was not able to see how to do this, but when it is written as an applescrit it makes perfect sense. I think i need to learn more about applescript