Hi all I've the backupscript of franz on my server. My problem is now, that i couldn't enable, that the script delete backups wich are older than ... How could I delete folders and files on the path /backup if they are older than a month easy per script? Thanks admins
Take a look at the find command: Code: man find The /usr/local/sbin/mysqlbackup.sh script on http://www.howtoforge.com/back_up_mysql_dbs_without_interruptions has an example how to put this to use.
HI, I'm glad somebody use my script command is: find ... -mtime +10 .. it delete files older then 10*24h+24h so it is 11 days