![]() ![]() I am trying to write a script that will scrape all of my photos for keyword tags and create a CSV that I will then import into my PLEX SQlite DB. All i get is endless syntax errors or complaining from PoSH about the variables in the exiftool command itself. How do I do this? Everything I have tried, including the Invoke-Expression commands have not worked for me. My variable, which will contain the currently processed keyword from my script needs to replace the section. ![]() PoSH should not try to replace them with any value, just pass them plain text to exiftool. It searches the metadata of the file for Tags that match those two names. In the above example, $filename and $Keywords are arguments that the command takes as input. I have tried to use this format: 'program -command stuff ' -f $varĮverything I try gives a syntax error or complains because the command is as follows:Įxiftool -p '$filename,' -if '$Keywords =~ /()/' *.jpg As a special service Fossies has tried to format the requested source page into HTML format using (guessed) Perl source code syntax highlighting (style. ![]() I have tried many different versions of escaping 'command "$var" command cont.' OR '"$var"' I have not done anything with AppleScript, so I am learning the syntax as I go.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |