ExifTool Forum

General => Other Discussion => Topic started by: Laird of Driftwood on August 06, 2015, 05:36:35 PM

Title: Need help with a command line
Post by: Laird of Driftwood on August 06, 2015, 05:36:35 PM
I am trying to write a spreadsheet for a large number of photos.  Their metadata has GPS in decimal format, and that is how I want it to appear in the spreadsheet.  When I used the following command line it came out in degrees, minutes, seconds.  Below is the command line I used.  Please rewrite it for me to do what I want.  Thanks.  exiftool -csv -filename -GPSLatitude -gps:GPSLongitude ./ > sighet7Aug.csv
Title: Re: Need help with a command line
Post by: Phil Harvey on August 07, 2015, 08:13:06 AM
Try adding -n to the command.  But you should use -gpslongitude and not -gps:gpslongitude if you want a signed decimal.

- Phil
Title: Re: Need help with a command line
Post by: Laird of Driftwood on August 08, 2015, 12:31:36 PM
Thanks, Phil.  I got the -n in the right place by trial and error, and your comment added an important nuance.
Title: Re: Need help with a command line
Post by: Phil Harvey on August 08, 2015, 12:52:22 PM
Quote from: Laird of Driftwood on August 08, 2015, 12:31:36 PM
I got the -n in the right place by trial and error

I hope there wasn't much "error".  The -n can go anywhere in the exiftool command.  The only thing it can't do is go after the shell redirection (>).

- Phil