GwynHannay / google-photos-migrate

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

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 and German (for more langs fix this file)

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

Supported extensions

Configured in extensions.ts:

  • .jpg
  • .jpeg
  • .png
  • .raw
  • .ico
  • .tiff
  • .webp
  • .heic
  • .heif
  • .gif
  • .mp4
  • .mov
  • .qt
  • .mov.qt
  • .3gp
  • .mp4v
  • .mkv
  • .wmv
  • .webm

About

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

License:MIT License


Languages

Language:TypeScript 71.6%Language:JavaScript 11.7%Language:Python 8.8%Language:Shell 7.9%