Wednesday 21 September 2011

Removing old log files from backup scripts

#!/bin/bash
# script to remove confluence backups by modification time

find /opt/ -mtime +1 -type f -exec rm -rf {} \;




### This is quite simple one

No comments:

Post a Comment