Hallo, Am 29.02.2016 um 18:50 schrieb J Albrecht: > .. following these directions purged everything from the xmp files!
This sed-command deletes all lines in the *.xmp with the text-string "GPS". I looked into one of my *.xmp-files: exif:GPSLongitude="8,...E" exif:GPSLatitude="52,...N"> <darktable:mask_id> The GPSLatitude-Line ist the last line of the XML-tag "<rdf:Description>". The tag-closing ">" in the line will also be deleted. So the *.xmp gets unreadable. Try to modify the sed-Command to let the ">" in place. Or try to set a single ">" before "<darktable:mask_id>". Or maybe it is also possible to use exiv-tools to modify all *.xmp but not the raw (which has no GPS-Coordinates). http://www.exiv2.org/manpage.html : "exiv2 is a program to read and write ..., XMP metadata and .." exiv2 -M"set Exif.GPSInfo.GPSLatitude .... Frank >>> >>> On 29/02/16 16:44, Robert William Hutton wrote: ... >>> for file in *.xmp ; do sed -i '/GPS/d' "$file" ; done >>> ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Darktable-users mailing list Darktable-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-users