Delete files based on age

Home Forums Scripting General Scripting Delete files based on age

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    Mandrake
    Member
    #163928

    hi I looking for a simple script that I can setup with windows scheduler that it will find files over the age of 5 days and delete them from 1 folder.

    I Don’t wish it to go deeper or higher just within that folder

    IE the folder name is “Scans” holding scanned pdfs it also has a sub folder called “peter” which Is for the director. hell have no fury if I delete thing inside his folder hahaha

    so I just want it to check the scanned folder delete any thing over 5 days without effecting “peter” folder

    found some interesting scripts and programs but none that do what I need sadly.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.