ExifTool Forum

ExifTool => Newbies => Topic started by: Russell S on December 04, 2023, 05:17:38 PM

Title: CSV File not saving
Post by: Russell S on December 04, 2023, 05:17:38 PM
Hi All. I am pretty new to Exiftool, just using it once before and it did exactly what I needed. This time I cannot seem to get the csv file to save. The Exiftool window comes up and seems to process the command but no file is saved. I have tried multiple tweaks of the command line but get zip. Where am I going wrong???? Windows 10 running exiftool from the command line.
I am after a csv with info including the gimbal and camera pitch and yaw. They are images from a drone.
Command line I am using is:
exiftool -csv -r -filename -GPSLatitude -GPSLongitude -GimbalYawDegree -GimbalPitchDegree -CameraPitch -CameraYaw F:\Photos_to_Exif\Lancewood2023 > F:\Photos_to_Exif\Lancewood2023\out.csv
Title: Re: CSV File not saving
Post by: StarGeek on December 04, 2023, 08:37:47 PM
Quote from: Russell S on December 04, 2023, 05:17:38 PMThe Exiftool window comes up and seems to process the command but no file is saved.
...
Windows 10 running exiftool from the command line.

I'm confused.  Are you running it from the icon or from the command line?  Because running it from the command line doesn't pop open a window.  And you can't redirect into a file from a drag/drop icon command.

Quoteexiftool -csv -r -filename -GPSLatitude -GPSLongitude -GimbalYawDegree -GimbalPitchDegree -CameraPitch -CameraYaw F:\Photos_to_Exif\Lancewood2023 > F:\Photos_to_Exif\Lancewood2023\out.csv

I don't see anything obviously wrong with the command.  It should work. Is there any error message? Try running it without the redirect into a file and see what is displayed. 
Title: Re: CSV File not saving
Post by: Russell S on December 04, 2023, 11:36:50 PM
Thanks StarGeek for the reply. To clarify;
Yes I am running it in the command line ("Run" from the start icon), in Windows 10.
I updated to the most recent version of Exiftool (V12.7)
The box that comes up is C:\WINDOWS\exiftool.exe and seems to process the command but then closes automatically without saving any file. This all happens too quick to get a screenshot. Have tried running it without the redirect but still does not save the csv.
There is no error messages. As it flashes on the screen it seems to do what I have asked but just does not write the csv file.
Yes I have read FAQ3.
Sorry can't see a code icon - where do I find that?
I am trying to process 280 odd .jpg images from a DJI Drone, all images are within one folder.
Title: Re: CSV File not saving
Post by: Phil Harvey on December 05, 2023, 08:03:09 AM
"Run" from the start icon isn't the command line.

You should be running "cmd.exe" from the "Run" box to run the command processor, then type your exiftool commands in the cmd.exe window that appears.

- Phil
Title: Re: CSV File not saving
Post by: StarGeek on December 05, 2023, 10:08:19 AM
Quote from: Russell S on December 04, 2023, 11:36:50 PMYes I am running it in the command line ("Run" from the start icon), in Windows 10.

As Phil says, this isn't the command line.  After opening the Run dialog, you need to either type CMD or Terminal or PowerShell.  CMD would be preferred as the other two open PowerShell and PS has a lot of irregularities compared to other command lines, both on Windows and other OSs

QuoteYes I have read FAQ3.
Sorry can't see a code icon - where do I find that?

That is just my signature applied to every post I make.  They don't apply here.  The code button is for copy/pasting exiftool output here and the image below it shows where the button is when typing in a post.
Title: Re: CSV File not saving
Post by: Russell S on December 05, 2023, 04:14:44 PM
Thanks for the help and sorry about the 'silly' question. Not my area of expertise (obviously).
Anyway all good now. Worked a treat and produced exactly what I needed. Really appreciate your time helping me out.