@ echo off rem rem This batch file processes all jpg files in a subdirectory. rem This batch file requires the parameter file bbp-xmp2exif.args for data field mapping. rem Put this batch file and the bbp-xmp2exif.args file in the directory with the jpg files you wish to process. rem This batch file requires an installed copy of exiftools by Phil Harvey. rem Download exiftools windows command line version and rename the file exiftools.exe. rem Place the exiftools.exe file in your windows directory or on your system path. rem rem rem --> This process overwrites the original jpg files so make sure you have a backup! <-- rem rem echo+ echo This batch file works in the current directory. echo+ echo It copies a subset of all JPG files' XMP data fields to their echo mapped EXIF data fields. echo+ echo XMP to EXIF field mapping is controlled by the file bbp-xmp2exif.args. echo+ echo ***************************************************************************** echo * This process overwrites the original jpg files! Ensure you have a backup! * echo ***************************************************************************** echo+ echo Press CNTRL and C to abort. echo+ pause echo+ echo on exiftool -tagsFromFile "@" -@ bbp-xmp2exif.args *.jpg -overwrite_original -k