Command to delete files older than x days
find /your_directory -mtime +7 -exec rm -f {} \;
works great for my mysql backup folder.
Command to delete files older than x days
find /your_directory -mtime +7 -exec rm -f {} \;
works great for my mysql backup folder.