load cleanold <path> [/DM=days | /DA=days] [/L=<path to log file>] [/OW] [/sys]
<path> is the directory path you want to clean. If the path contains
spaces, enclose the path in qoutes. eg “data:user dirs”
/DM=days – specifies the number of days worth of modified files to save. eg, to delete anything not modified in the last 15 days use /DM=15
/DA=days – specifies the number of days worth of accessed files to save. eg, to delete anything not accessed in the last 100 days use /DA=100
/DC=days – specifies the number of days worth of created files to save. eg, to delete anything not created in the last 100 days use /DC=100
/L=<path to logfile> – specifies where to write the log file if desired.
/OW – Overwrite the logfile instead of appending
/EMPTY – Delete any empty directories in the path
/sys is an override to allow cleaning the sys volume. By default cleanold will not allow cleaning the sys: volume.