Sarah Happy: Scripts

migrate-db
During the development of my non-redundant backup system I decided to move from SQLite to PostgreSQL, this script moved the data.
batch-sign
I once had many files that I wanted to sign individually, but I didn't want to type my passphrase for each individual file, so I made this script.
crypto-cd-backup
My system backups are burned on CDRs, and they are also encrypted. Sometimes I forget the passphrase that I used for a backup set so I spend a week guessing it to restore a few files.
badblocks.pl
The badblocks program did not provide me enough flexibility and the write test kept testing known bad blocks, making it slow, so I wrote my own version in PERL based on the C version.
crypto-loop-setup
This is the script I use to attach my encrypted devices on boot, before any startup scripts run.