this post was submitted on 12 Jan 2024
19 points (100.0% liked)
DeGoogle Yourself
7743 readers
2 users here now
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
-
Be respectful even in disagreement
-
No advertising unless it is very relevent and justified. Do not do this excessively.
-
No low value posts / memes. We or you need to learn, or discuss something.
Related communities
[email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
There’s the python image library (and a fork of it called pillow) and exif. There’s probably a bunch of others, too.
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.