"Microsoft recently released Edit, a new terminal text editor written in Rust. It's pretty nice - it's reminiscent of nano but with a retro MS DOS feel.
I wanted to run it on my Apple Silicon Mac. Microsoft don't (yet) provide compiled builds for that platform, but they do have a release for aarch64-linux-gnu. I figured I'd run that in o Docker container (I have Docker for Desktop installed) to try it out.
One thing lead to another and I ended up creating and shipping a new Docker image to GitHub's Container Registry. This means anyone with an Apple Silicon Mac and Docker can try out edit against the files in their current directory by running this command:"
blog! “Convert Shotwell Photo Metadata to Digikam Metadata”
Mostly notes to myself.
Shotwell stores most of its information in a database. Which I lost. Because I'm an idiot.
But a bunch of metadata is also stored in the image's EXIF metadata!
Most importantly is the "Original File Name" which should become the "Description" in DigiKam. Unfortunately,…
Read more: https://shkspr.mobi/blog/2025/06/convert-shotwell-photo-metadata-to-digikam-metadata/
⸻
#cli #HowTo #linux
Convert Shotwell Photo Metadata to Digikam Metadata
https://shkspr.mobi/blog/2025/06/convert-shotwell-photo-metadata-to-digikam-metadata/
Mostly notes to myself.
Shotwell stores most of its information in a database. Which I lost. Because I'm an idiot.
But a bunch of metadata is also stored in the image's EXIF metadata!
Most importantly is the "Original File Name" which should become the "Description" in DigiKam. Unfortunately, there's no way to copy those values automatically on import.
So here's a one-liner which will read the "Original File Name" and store it in the "Title" EXIF - ready for DigiKam to parse!
Bashexiftool "-XMP-dc:Title<XMP-getty:OriginalFileName" whatever.jpg
If you want to make sure any existing Title isn't overwritten, use:
Bashexiftool "-XMP-dc:Title<${XMP-getty:OriginalFileName}" -if "not defined $XMP-dc:Title" whatever.jpg
Finally, to do it recursively, across all files:
Bashexiftool -r "-XMP-dc:Title<${XMP-getty:OriginalFileName}" -if "not defined $XMP-dc:Title" /path/to/images
television
https://git.permacomputing.net/television/files.html
I've been in situations of giving a lecture or a workshop where there was no screen or projector available, or... No cable. The usual workaround that I've seen friends and colleagues use is to have everyone join jitsi/zoom/bbb/etc and do the screen sharing there. This works but feels like a grotesque variation of the "a multinational corporation's service as the easiest way of copying files between two nearby devices" entry from the crappy everyday tech bingo.
So here is a response with television, a simple binary that takes screenshots of your desktop at regular intervals and serves the result over http on an amazingly well formatted html page that can be accessed by everyone over LAN/WLAN with their browser. It's *not* a video stream, it's really a 1fps style screensharing web thing which is plenty enough for slides, GUI/TUI/CLI action, etc.
3/?
Aaaand there you go: My first very own Python package on PyPI.
https://pypi.org/project/felloff/
felloff is a CLI tool to extract, edit (non-interactively, i.e. via command line switches), or remove YAML front matter in text files.
Now also supports editing existing files in place (instead of just printing the changed version to stdout).
Also, if you installed the 0.1.0 version please upgrade to 0.1.1, there's been a silly bug that broke reading from stdin …
If you'd like to test drive my YAML front matter CLI tool, you can now install it from Git using uv or pip(x). There's also a readme now that shows you what it can do and teaches you how to use it.
https://codeberg.org/scy/felloff
Let me know what you think and if you encounter any bugs!
me: manually editing YAML front matter sucks
also me: *spends a day writing a CLI tool for common tasks*
(Not released yet, I have a few small features I'd like to implement first.)
Edit: It's now available for testing via Git:
Harlequin: The SQL IDE for Your Terminal.
https://harlequin.sh/
Un chouette outil pour remplacer `psql` et taper des commandes SQL : autocomplétion, formatage, résultats en tableaux, nom des tables…
#sql #psql #outil #cli