My last csh script is gone, replaced by org-fied bash

My oldest extant operational script was the one I used to back up my files at home. It’s now gone and has become a small literate programming (you be the judge) example, complete with definition of key environment variables in org-mode data blocks which are then defined in bash via eval, and in-line collection of run results (via :results prepend)

https://github.com/eludom/dotfiles/blob/e407058bd499e9a89a03774bd695c49e33a65860/bin/backup.org

Advertisements