Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Make a copy of thursdays backup into the weekly folder.
- # Run once a week via crontab.
- # Define Date
- DATEFILE=`/bin/date +%G%m%d`
- # Copy of thursdays backup is copied into the weekly folder
- cp /backup/daily/${DATEFILE} /backup/weekly/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement