News:

2023-03-15 Major improvements to the new Geolocation feature

Main Menu

clipboard

Started by MCG, February 25, 2021, 12:58:08 PM

Previous topic - Next topic

MCG

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 ?

MCG

I resolved myself:

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

thanks

StarGeek

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.

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.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).