I downloaded all my photos with google takeout.

The folder structure is an absolute mess.

It would be nice to organise them into YYYY/MM folders but I haven’t been able to think of an easy way to do that.

I note that all images seem to have sidecar files ? Like matching json files. I’ve never encountered these before and not really aware of any command line tools that support them. It’s just another challenge as regards writing a script to re-organise files.

Any insights much appreciated.

You are viewing a single thread.
View all comments
1 point
*

Check out exif tool. You could also incorporate jq a command line json parser, to extract data from the json file. If you are trying to do higher level sorting/organization, you may consider using a scripting language other than bash/zsh. Guaranteed there is a Python package for reading exif data.

https://askubuntu.com/a/404632

permalink
report
reply
1 point

There’s the python image library (and a fork of it called pillow) and exif. There’s probably a bunch of others, too.

permalink
report
parent
reply
1 point

As I recall working with EXIF is generally a pain in the butt. In js the best you can hope for is a wrapper around some CLI based thing that I can’t remember the name of right now.

permalink
report
parent
reply

DeGoogle Yourself

!degoogle@lemmy.ml

Create post

A community for those that would like to get away from Google.

Here you may post anything related to DeGoogling, why we should do it or good software alternatives!

Rules

  1. Be respectful even in disagreement

  2. No advertising unless it is very relevent and justified. Do not do this excessively.

  3. No low value posts / memes. We or you need to learn, or discuss something.

Related communities

!privacyguides@lemmy.one !privacy@lemmy.ml !privatelife@lemmy.ml !linuxphones@lemmy.ml !fossdroid@social.fossware.space !fdroid@lemmy.ml

Community stats

  • 908

    Monthly active users

  • 313

    Posts

  • 4.5K

    Comments