|
__init__(self,
root,
pattern,
tooOld=THIRTY_DAYS,
maxProcess=50,
frequency=60)
Recursively delete all files under [root] matching [pattern]
older than [tooOld], processing only [maxProcess] files every
[frequency] seconds. |
source code
|
|
|
start(self)
Begin processing the directory, recursively |
source code
|
|
|
|
|
process(self,
fullPath)
Hook for cleanin up the file |
source code
|
|
|
test(self,
fullPath)
Test file file for pattern, age and type |
source code
|
|
|
walk(self,
root)
Generate the list of all files |
source code
|
|