janstadt / google-photos-migrate

A tool to fix EXIF data and recover filenames from a Google Photos takeout, saving files into a flat directory.

Home Page:https://npmjs.com/package/google-photos-migrate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

google-photos-migrate

A tool like google-photos-exif, but does some extra things:

  • uses the titles from the .json file to recover previous filenames
  • moves duplicates into their own folder
  • tries to match files by the title in their .json file
  • fixes wrong extensions, identified by ExifTool
  • video files won't show up as from 1970
  • works for English, German and French (for more langs fix this file)
  • supported extensions can be found and configured in extensions.ts

Run this tool

mkdir output error

npx google-photos-migrate@latest '/path/to/takeout/Google Fotos' './output' './error' --timeout 60000

Further steps

  • If you use Linux + Android, you might want to check out the scripts I used to locate duplicate media and keep the better versions in the android-dups directory.
  • Use a tool like Immich and upload your photos

About

A tool to fix EXIF data and recover filenames from a Google Photos takeout, saving files into a flat directory.

https://npmjs.com/package/google-photos-migrate

License:MIT License


Languages

Language:TypeScript 71.9%Language:JavaScript 11.6%Language:Python 8.7%Language:Shell 7.8%