-
First move all the uncompressed files you have downloaded to a common folder
$ rsync -av --ignore-existing source_folder/ destination_folder/
-
Download the source code of
exiftool
or git clone it$ git clone https://github.com/exiftool/exiftool
-
Google Takeout does produce another json file for images which were edited and made a copyof. If you wish to keep a copy but not update the date then the following command is optional
$ rm -rf *-edited.jpg
-
Update the
exiftool
&"Google Photos"
path according to your needs./<path_to_exiftool>/exiftool -d %s -tagsfromfile %d%f.%e.json \ "-Keywords<Tags" \ "-Subject<Tags" \ "-Caption-Abstract<Description" \ "-ImageDescription<Description" \ "-DateTimeOriginal<PhotoTakenTimeTimestamp" \ "-FileCreateDate<PhotoTakenTimeTimestamp" \ "-FileModifyDate<PhotoTakenTimeTimestamp" \ "-GPSAltitude<GeoDataAltitude" \ "-GPSLatitude<GeoDataLatitude" \ "-GPSLatitudeRef<GeoDataLatitude" \ "-GPSLongitude<GeoDataLongitude" \ "-GPSLongitudeRef<GeoDataLongitude" \ -overwrite_original -ext mp4 -ext jpg -r "Google Photos"
-
For further assistance, you can reach out to the references I have used
References: