Skip to content
Archive of posts filed under the tips category.

A framework for BackupPC‘s pre/post scripts

Use the same framework for all hosts, and run per-host scripts where needed.

Detecting empty files in awk

It's not straightforward, but it can be done.

(Semi-)Automated ~/.ssh/config management

Shorten your ssh commands, but in a kludgy way.

Remote-to-remote data copy

Ever wanted to do this?

The mythical “idempotent” file editing

Stop asking for that.