ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: MCG on February 25, 2021, 12:58:08 PM

Title: clipboard
Post by: MCG on February 25, 2021, 12:58:08 PM
Hello, I'm new with exiftool

I start exiftool from an external program with, and at the end I want the status (1 images files updatet) in the clipboard
When I do this:

exiftool.exe  "-DateTimeOriginal=2021:02:16 14:41:47"  "-gpslongitude=28° 57' 38.10"" "C:\IMG_20200226_090105.jpg" | clip

I receive this:

Error: File not found - |
Error: File not found - clip
    1 image files updated
    2 files weren't updated due to errors

When I change only the time without changing the GPS data it works, whitout clipboard it works also ...
Someone can help me please ?
Title: Re: clipboard
Post by: MCG on February 25, 2021, 01:41:47 PM
I resolved myself:

exiftool.exe  "-DateTimeOriginal=2021:02:16 14:41:47"  "-gpslongitude=28° 57' 38.10" "C:\IMG_20200226_090105.jpg" | clip

thanks
Title: Re: clipboard
Post by: StarGeek on February 25, 2021, 01:50:18 PM
For the GPS coordinates, you don't need the degree sign or quotes for minutes/seconds.  Three numbers separated by spaces will work.  See FAQ #14 (https://exiftool.org/faq.html#Q14).

Also remember you need to set the reference tags (GPSLongitudeRef, GPSLatitudeRef, GPSAltitudeRef) because the direction reference (N/S/E/W/Above/Below) isn't saved in the main tag.