Revision: 58174
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 29, 2012 07:36 by adkatrit
Initial Code
#!/bin/bash TODAY=$(date +%m-%d-%Y) mkdir -p /path/to/backup/$TODAY/ cp /full/path/to/backup.data /path/to/backup/$TODAY/$(date +%s).data #perfect for cron job
Initial URL
Initial Description
i've got this running on an hourly cron. works beautifully.
Initial Title
backup into folder daily
Initial Tags
backup
Initial Language
Bash