### NewDrive drive <-i "ignorepattern"> ### drive - A directory that is mounted on the drive ### -i - Ignore, and the ignore pattern. Mostly ### used for other drives mounted under the drive. ### ### static - starts a static section ### ### dynamic - starts a dynamic section ### Recommended to always create a static/dynamic ### section of configuration ### ### erase Directory [-d/-s/-o] NUMBER<%> <-h> <-m "[destination]"> ### -d - Deletes older items than NUMBER of days ### -s - Deletes items until dir is below NUMBER MB ### -o - Deletes oldest until item count is < NUMBER ### -f - Deletes files until disc free space is > NUMBER MB or ### until all files in directory are deleted. ### -h - Hides from bot output (DOX-flood etc) ### % - Used in Dynamic section with the -s parameter. ### -m - Move object to [destination] instead of deleting ### ### Example configuration -> ### # Example system setup: # /dev/hdb1 = Games, DOX, SVCD # /dev/hdb1 = DivX # /dev/hdc1 = Mp3, M-Vids (dated dirs) # /dev/hdd1 = Archive (Mp3 & M-Vids) + Staff personal storage space. NewDrive "$SiteDir/Games" -i "#Message_In_Dir#" erase "$SiteDir/Games/DOX" -d 14 -h subtract "$SiteDir/Games/Groups $SiteDir/SVCD/Groups $SiteDir/Staff" dynamic ### Make sure you do not exceed 100% per drive ### erase "$SiteDir/Games" -s 30% erase "$SiteDir/SVCD" -s 70% NewDrive "$SiteDir/Mp3" erase "$SiteDir/Mp3/Radio_Edits" -o 100 -h subtract "$SiteDir/Mp3/Groups $SiteDir/M-Vids/Groups" dynamic erase "$SiteDir/Mp3/%m%d" -s 60% -m "$SiteDir/Archive/Mp3" erase "$SiteDir/M-Vids/Week-%W" -s 40% -m "$SiteDir/Archive/Mvids" NewDrive "$SiteDir/Archive" subtract "$SiteDir/Archive/Staff_Personal" dynamic erase "$SiteDir/Archive/Mp3" -s 25% -h erase "$SiteDir/Archive/M-Vids" -s 75% -h NewDrive "$SiteDir/DivX" erase "$SiteDir/DivX" -f 5000