script problem

Discussion in 'General' started by admins, Jul 28, 2010.

  1. admins

    admins Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. Franz

    Franz Member

    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
     

Share This Page