Bulk thumbnails

note, Jun 4, 2023, on Mitja Felicijan's blog

Make bulk thumbnails of JPGs with ImageMagick.

#!/bin/bash

directory="./images/"
dimensions="360x360"

for file in "$directory"*.jpg; do
  convert "$file" -resize $dimensions "$file" "${file%.*}-thumbnail.jpg"
done

Other notes

DateTitle
My brand new Plan9/9front desktopplan9
Compile drawterm on Fedora 38plan9
Personal sane Vim defaultsvim
Take a screenshot in Plan9plan9
Dungeon Crawl Stone Soup - New player guidedcss
Use option key as meta in Alacritty under macOS
Cronjobs on Github with Github Actions
Write and read structs to/from files in Cc
Extending dte editor
Sane defaults for tmux with more visible statusbar
Drawing Pixels in Plan9plan9
Embedding resources into binary with Cc
Lua performance in different environments
Extract lines from a file with sed
AWS EB PyYAML fix