command line options / switches

Started by fpefpe, April 22, 2021, 01:17:12 PM

Previous topic - Next topic

fpefpe

Hello --- sorry for a  trivial question, but I must have just missed the switch in the docs --- but  I want to write the output of exiftool to a file  not using  redirection  (>)  I thought there switch was  -o  but that did not work ---  what would be the proper switch? Thanks

StarGeek

See the -w (-TextOut) option for separate output files for each file processed.  See note 2 under that option for a single file for all output.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

fpefpe


fpefpe

hello --- thx for info with note # 2 --- I am running exiftool over a directory and just want to send the output to a file in the temp folder --- I can't seem to get the triggers just right ----  what would be  the syntax  to get the output to foo.txt in the tmp folder (windows) where %temp% is the tmp dir -- thanks


Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

fpefpe

thx for that info --- that  was exactly what I  was looking for