Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # In the specified folder, look for any folders 7 days old and remove them
- # and their contents. Run this job mon-fri via crontab.
- find /backup/daily -maxdepth 1 -type d -mtime +7 -exec rm -r {} \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement