Skip to content

Instantly share code, notes, and snippets.

@kytta
Last active October 25, 2021 17:22
Show Gist options
  • Save kytta/da1602c2206fd26602cc469c855fb5e9 to your computer and use it in GitHub Desktop.
Save kytta/da1602c2206fd26602cc469c855fb5e9 to your computer and use it in GitHub Desktop.
Google Photos metadata parser and converter
@kytta
Copy link
Author

kytta commented Dec 16, 2020

Examples

Only parse EXIF and JSON

python3 metadater.py -s "exif,json" ./input ./output

Get date only from filename, while patterns "IMG_YYYYMMDD_HHMMSS*" and "YYYYMMDDHHMMSS*" are present

python3 metadater.py -s "filename" -n "IMG_%Y%m%d_%H%M%S,%Y%m%d%H%M%S" ./input ./output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment