Friday, 28 March 2014

Script to Delete file older than 30 days in Linux


#! /bin/bash
find /backup/mysql/* -type f -mtime +30 -exec rm {} \;



No comments:

Post a comment