> Automation > Policies > Maintenance > Trim Oldest Files from Folder

Trim Oldest Files from Folder

Quick Description This Automation Policy delete files based on age.
Applies To N-central 9.5.x
Last Revised April 10, 2014


This Automation Policy will delete the oldest files from a target folder while retaining a configured minimum number of files in the folder.

Input Parameters

Folder to remove oldest files from: <string value>


Number of files to be kept in folder: <integer value>


Automation Policy


This Automation Policy can be used to manage applications that produce many daily or event-based log files so that those log files do not begin to consume excessive amounts of disk space.