deletion cannot ask anything for backupscripts

This commit is contained in:
Q
2023-09-30 09:20:02 +03:00
parent 87056798fe
commit a28b2c636f

View File

@@ -8,7 +8,7 @@ import shlex
import json
from argparse import ArgumentParser
VERSION = "1.3"
VERSION = "1.3.1"
class RSB:
@@ -93,7 +93,7 @@ class RSB:
)
if any((is_old, is_disk_full, not_kept)):
print("Deleting {}".format(d))
cmd = ["rm", "-r", os.path.join(self.base_folder, d)]
cmd = ["rm", "-rf", os.path.join(self.base_folder, d)]
subprocess.call(cmd, shell=False)
def make_hardlinks(self):