Posts

Showing posts from September, 2025

cd burning: use "wodim"

Note to self: burn to optical media with wodim, like so:     # wodim -eject $ISO Background: it was originally called cdrecord, but this was forked and the name changed with it.  At some point it was called cdrkit. Support for new media, DVDs and then Bluray BDs was only made available in the newly-named programs.

git: listing directories to include

In its normal behaviour, git is for a whole directory, apart from exclusions via .gitignore, and any special git files. What if we want to whitelist what to include?  There isn't a .gitfoo file for this.  But it can probably be achieved via a double negative for files, and a double negative twice for directories: .gitignore: * !included_file !included_dir/ !included_dir/* This is especially useful for picking out parts of a home directory to replicate.