Usage:
axp revlib cleanup
[options]
Infoline:
Options:
-h, --help | display this help message and exit |
-t, --test | do not actually remove anything |
-v, --verbose | be more verbose |
-q, --quiet | be quiet |
tla creates temporary ,,new-revision.* directories when adds revisions to the library. If tla is killed for some reason these directories will stay forever. (This is possible, for example, if tla is called from the web script that is killed by the web server for exceeding the CPU/time quota or is stopped by a web visitor.) This command may be run hourly or daily from a cronjob, like: 14 0/3 * * * /path/to/axp revlib prune -q -n 2000 14 1/3 * * * /path/to/axp revlib prune -q -s 5GB 14 2/3 * * * /path/to/axp revlib cleanup -q The exit status is 0 if any directories to be cleaned up are found, and 1 otherwise.