Rewriting a photo tagger in Go
Outlook
The idb
tool assigns tags to photos, but it could also be used in other ways to mark any sort of file in the filesystem, such as important configuration files whose paths people always forget or the video files you last edited in the depths of the directory hierarchy. Once tagged, idb
quickly finds them when needed, based on the tag used.
The idb
tool could easily be expanded. What about using a metadata table to store the GPS coordinates of all your photos? Or what about a transaction table that lets you untag accidentally tagged images with --undo
? As always, there are no limits to creativity with DIY tools.
Infos
- idb: https://www.perlmeister.com/idb.html
- "Programming Snapshot – Go and Fyne" by Mike Schilli, Linux Magazine, issue 254, January 2022, pp. 40-45
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)