Remove files that haven't been accessed in >15 days from dl/
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
+ # cleanup dl
+ factory.addStep(ShellCommand(
+ name = "dlprune",
+ description = "Pruning dl/",
+ descriptionDone = "dl/ pruned",
+ command = 'find dl/ -atime +15 -delete -print',
+ logEnviron = False,
+ ))
+
# prepare tar
factory.addStep(ShellCommand(
name = "dltar",
# prepare tar
factory.addStep(ShellCommand(
name = "dltar",