Monthly Archives: December 2016

Script to Limit Number of Files in a Directory

I have some jobs that run and will fill up disk drives if not pruned. I put together the simple script below that I can call with a directory and the number of files I want to keep. The oldest … Continue reading

Posted in Uncategorized | Leave a comment