Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a number of files I previously geotagged using exiftool. Now they have tags such as:

"EXIF:GPSVersionID": "2 2 0 0",
"EXIF:GPSLatitudeRef": "N",
"EXIF:GPSLatitude": 37.7641210370361,
"EXIF:GPSLongitudeRef": "E",
"EXIF:GPSLongitude": 27.2599476300806,
"EXIF:GPSAltitudeRef": 1,
"EXIF:GPSAltitude": 0,
"EXIF:GPSMapDatum": "WGS-84",

I'd like to copy this geotag information into the XMP file. What is the correct exiftool command to do this?

share|improve this question

The command is:

exiftool -tagsFromFile SOURCE.nef -@ xmp2gps.args TARGET.xmp

For this to work, you must have the "xmp2gps.args" file in the current directory. You can find this file in the "arg_files" directory of the full ExifTool distribution.

  • Phil
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.