https://github.com/mic159/immich-takeout
Import google takeout archives into Immich
https://github.com/mic159/immich-takeout
Last synced: about 1 year ago
JSON representation
Import google takeout archives into Immich
- Host: GitHub
- URL: https://github.com/mic159/immich-takeout
- Owner: mic159
- Created: 2024-01-08T13:28:41.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-22T23:37:01.000Z (about 2 years ago)
- Last Synced: 2025-02-05T08:50:40.813Z (over 1 year ago)
- Language: Python
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Import Google Takeout to Immich
Import a Google Takeout tar file into Immich
This tool updates the EXIF data from your images and uploads the
resulting images to Immich directly without having to extract and
use external tools to modify them.
## Pre-work: Google takeout
Please export your Google Photos images using Google Takeout.
Select tar files (not zip).
Download all the files
## Pre-work: Un-gzip the tars
After downloading the files, they will be `.tgz` files (ie. compressed with gzip).
To make this tool faster, please un-gzip the tars first. Don't worry, the overall
size will be basically the same, as we are talking about images here, so they didn't
really get compressed anyway.
```shell
gunzip -k *.tgz
```
Explanation: The metadata `.json` files in the archives are not always in the same place as
the photo/video. To avoid having to
## Running
Run this tool with the API information, and pass it all the tar files as arguments.
```shell
python main.py --api-key XXX --api-url https://xxx/ *.tar
```