N-central Help

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

Overview

This automation policy deletes the oldest files from a target folder while retaining a configured minimum number of files in the folder. Use this automation policy 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.

Input Parameters

Folder to remove oldest files from: <string value>

c:\folder1\folder2

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

5

Automation Policy

Outcome

The specified number of files are deleted from the specified folder on a device.