Posts Tagged ‘bash’

Well, I learned something new today. I needed to automate a weekly backup (i.e. tar & zip) a bunch of files and automatically send the backup file to another machine. After a brief reminder on how to set up keys for passwordless SSH logins I added this as a daily entry in my crontab:
bf_name=backup-`date +%s`.tar.gz; [...]