backup: add a command to list jobs
dist/prepare: use getopts
dist/prepare: add a command-line option for setting $out
dist/prepare: add forgotten options to getopts
dist/prepare: cosmetic fixes