/********************************************************************** * TDRP params for Janitor **********************************************************************/ //====================================================================== // // TRAVERSING THE DIRECTORY TREE. // // Controlling the way the Janitor searches the directory tree for files // to delete or compress. // //====================================================================== ///////////// recurse ///////////////////////////////// // // Recurse to lower directories. // Set to false to leave directories below the current directory alone. // Type: boolean // recurse = TRUE; ///////////// process ///////////////////////////////// // // Process files in this directory. // Set to false to leave the current directory alone. However, subdirs // are processed unless the recurse parameter is set to false. // Type: boolean // process = TRUE; ///////////// check_ext /////////////////////////////// // // Option to check for file extension. // If set, only files with the 'ext' extension are processed. // Type: boolean // check_ext = TRUE; ///////////// ext ///////////////////////////////////// // // Specified file extension. See 'check_ext'. // The specified extension may optionally include the leading period. // Type: string // ext = "gif"; ///////////// date_format ///////////////////////////// // // Option to check for RAP date-time naming convention. // If set, the files must follow the RAP file naming // convention (which means that the filename is based // on the date that the data in the file pertains to). // Type: boolean // date_format = FALSE; ///////////// file_ages_in_days /////////////////////// // // Option to specify file ages in days, instead of secs. // If TRUE, 'MaxNoModDays' and 'MaxNoAccessDays' are used. If FALSE, // 'MaxModificationAgeBeforeDelete' and 'MaxAccessAgeBeforeCompress' are // used. // Type: boolean // file_ages_in_days = FALSE; ///////////// delete_files //////////////////////////// // // Option to delete files. // If set, files are deleted if their modification age exceeds // MaxNoModDays, if set, or MaxModificationAgeBeforeDelete. // Type: boolean // delete_files = TRUE; ///////////// MaxModificationAgeBeforeDelete ////////// // // Max file age before deletion - secs. Used if 'file_ages_in_days' is // FALSE. // If delete_files is TRUE, a file will be deleted if it has not been // modified in this amount of time. // Minimum val: 1 // Type: int // MaxModificationAgeBeforeDelete = 18000; ///////////// RemoveEmptyDirs ///////////////////////// // // Option to remove empty directories. // If set, directories are removed if file deletion leaves them empty. // Type: boolean // RemoveEmptyDirs = FALSE; ///////////// compress //////////////////////////////// // // Single bool value. // If set, files are compressed if their age indicates // that they should be. Systems that do not decompress // on the fly (Juneau?) should avoid compression. // Type: boolean // compress = FALSE;