Closed lewurm closed 8 months ago
Good question. I haven't tried with split takeout files yet. Am mobile right now but want to get this working. Contributions / proposals welcome here π
From a quick look, it seems like all .json
files are in the first split archive only. I might dig into the source code a bit tomorrow π
Ohh that's interesting... hmm, and somewhat problematic. Will think on this. Let me know if you think of something!
So tried my repackaging idea again, but this time using GNU tar on macOS (brew install gnu-tar
) and then timeliner
at least doesn't trip:
$ cat takeout-20220106T172751Z-0*.tgz | gtar xzivf -
$ gtar -cvzf takeout-20220106T172751Z-all.tgz Takeout/
However, I still do not see GPS info in most pictures when doing timeliner import ...
with the combined archive. Not sure what's going on, but it's definitely quite slow and does a lot of disk reading.
I was looking a bit at takeoutarchive.go
regarding supporting multiple archives, but I think instead it would be easier and more performant if instead it would operate on the unpacked Takeout folder. It even looks like with archiver v4 that should be rather easy to do, while also keeping support for a single archive file?
Nice find with the gnu-tar fix. I also wonder if filenames like ._*
are macOS-only or something weird.
However, I still do not see GPS info in most pictures when doing timeliner import ... with the combined archive. Not sure what's going on, but it's definitely quite slow and does a lot of disk reading.
One thought... if they already existed in your timeline, it's possible that timeliner is skipping those ones entirely. Or maybe our EXIF reader just isn't finding the data in some files for some reason.
It even looks like with archiver v4 that should be rather easy to do, while also keeping support for a single archive file?
Yep, exactly, and I've already got that working locally in Timeliner's successor, Timelinize:
And was the primary motivation for writing archiver v4.
It's my nights-and-weekends project so I still have a lot to do before it's polished enough to share, but I'm making progress :muscle:
I now have more info about Timelinize, as well as a Discord community if you want to help try it out and offer feedback. https://timelinize.com (also updated this project's README).
Quoting from https://github.com/mholt/timeliner/wiki/Data-Source:-Google-Photos :
Did this happen now? Exports larger than 50gb will be split now:
While the first archive of a split seems to be accepted fine by
timeliner import
, the remaining archives do not print anything (even with-v
) and exit after a few seconds.I also tried to unpack all the files and repackage them into a single large one, but
timeliner import
fails right away:Maybe that's related to the way I repackage it? The file headers look like this:
where
takeout-20220106T172751Z-all.tgz
is my repackaged archive (on macOS).Anyway that would be merely a workaround, but it would be great if
timeliner import
supports those split archives generated by Google.