Create a new Activity and select System.File.Delete as the Activity Type:
If you wish to run the Activity at a scheduled time set it here.
If you choose to retain a certain number of files for each device (see options below) ?hen you must specifiy which devices are to be included. In most cases you will want to select all.
Set preferences for reporting on this Activity.
Select a file from the folder which you want to run the activity against.
Include sub folders:
Select this if you want the activity to run against all sub folders of the selected folder.
Number of device specific dated files to retain:
You may want to clean the dated configs but ensure that you always keep the last 'x' number of dated configs'. This option allows you to do this. Enter the number of files of each device specific type you want to keep.
This works by using the CatTools Device Filename (for devices specified in the devices tab above) and comparing this to the file names in the folder to identify files that relate to the same device. It will then keep 'x' number of files for each device type.
Note: see Troubleshooting if your System.File.Delete activity is not retaining 'x' number of files.
Delete files older than how many days:
Select this option to delete any files older than the specified number of days. This option is of lower presedence than the above option so that if both are specified you will still keep 'x' number of files even if they are older than the specified number of days.