Save Tag-output to another drive

Started by berliner_ffm, April 14, 2020, 03:39:38 PM

Previous topic - Next topic

berliner_ffm

I read through many questions and the w-w option but I could not find a solution for the follwing.

This statement works perfect:

exiftool -ALL -w out.txt D:\Pictures\Image-001.dng

Now I want the output not to go into that folder but instead to another drive. So I tried:

exiftool ALL -w c:\out.txt D:\Pictures\Image-001.dng

This gives an Error:

Error creating D:\Pictures\Image-001c:/out.txt

What am I doing wrong here? Thx!

Phil Harvey

The -w option isn't designed to write a single output file.  To do this, use shell redirection:

exiftool ALL D:\Pictures\Image-001.dng > c:\out.txt

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