2/16/2023 0 Comments Exiftool mac default location![]() ![]() ![]() Third, cding around in a script can cause confusion in a script, because it changes the meaning of relative paths (shouldn't be a problem here, but it's generally a bad practice). You can use & to join commands, and it'll run the second command only if the first one succeeds. Second, it doesn't do any error checking if something goes wrong with one of the commands, it blithely continues on, maybe in the wrong directory, maybe who knows. To make it run on all of them, put the commands that operate on the files inside the for loop, rather than after it (and remove the echo - it's just there as a placeholder in the sample code). It loops over the files, echoing each path, but then it only runs exiftool on the last one. select several files in the Finder, then drag them all to the app). ![]() First, it won't work for multiple files (i.e. There are several problems with the "solution" script. This is the error Message of the Automation Application: I tested it out, and the file path is correctly stored in the $f variable.īut for some reason the shellscript in the Automation can not use the exiftool.Īnd the second error in the error message is not important, because it appears because the exiftool command didnt run. I first tested if exiftools works if i use it in the terminal:īut when I use exiftool in the shellscript inside my Automator App, then it says, that it didn't found the command "exiftools".Īnd the Automation runs this Shellscript: for f in "$f" Im using exiftools to remove the Meta Data. The Atomator App works in such a way, that I drag and drop the File on the App, and the App starts a shellscript, with the filepath as input. I want to create a Atomator App, that removes metadata from files for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |