Find files older than 30 days

broken image

The text file was just over 20MB in size with the file names of all the files in that 5.6GB folder. I then dropped out to the command line and did a directory list dump to a test folder. It took 5-10 minutes to just load up the page in Windows through the GUI. One folder had files ranging in size from 1KB to 64KB that I could see. Unfortunately there was a huge amount of files in the folder and not all needed to be cleared out. These log files needed to be kept for 3-4 months in case they need to be reviewed for verification.

broken image
broken image

I recently had to find out a way to cleanup files in a folder that was growing based upon the date that they were originally created.