Defining Output Directory Help

Started by dronesurveyor, April 18, 2025, 02:26:22 AM

Previous topic - Next topic

dronesurveyor

Hi there

What is the correct syntax to use if I wish to put all the geotagged images in a different folder on my D drive?

This is my current syntax:

exiftool -csv="E:\Sep 24\Sep 24 C-1\Output\WGS84.csv" .


Phil Harvey

To move all photos with GPS coordinates from directory SRCDIR to directory DSTDIR:

exiftool -if "$gpslatitude" -directory="DSTDIR" SRCDIR

- 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 ($).

StarGeek

Phil's command is the one to use if you are just looking to move any GPS tagged files to another directory, but your use of the -csv option as an example makes me wonder if you want something more complicated, as the -csv option usually isn't used when moving files.

Just to verify, you just want to move the files and not something like you want to embed data from a CSV file and move any of the files that were edited only with GPS coordinates.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

dronesurveyor

I am geotagging a directory of 4000 images using the geotags contained in the csv file. Both exiftool and the csv file are in the same folder as the images. I would rather have them geotagged and moved to a new directory, rather than delete all of the .original files after completion.

StarGeek

Quote from: dronesurveyor on April 20, 2025, 03:23:04 AMrather than delete all of the .original files after completion.

You can add the -overwrite_original option to suppress the creation of backup files.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype