batch/scripts file fro deleting files older than X days RRS feed

  • Question

  • Hi,


    can any one provide me with bath/script file for deleting files under a directory and its subdirectory without actually deleting directories.Files which are older than say 7 days.

    i need this because i am trying automate the logs rotation so that manual work is reduced.


    Any help woud be greatly appreciated.!!

    Thanks in advance.

    Wednesday, July 20, 2011 4:12 AM