deletion cannot ask anything for backupscripts
This commit is contained in:
@@ -8,7 +8,7 @@ import shlex
|
|||||||
import json
|
import json
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
VERSION = "1.3"
|
VERSION = "1.3.1"
|
||||||
|
|
||||||
|
|
||||||
class RSB:
|
class RSB:
|
||||||
@@ -93,7 +93,7 @@ class RSB:
|
|||||||
)
|
)
|
||||||
if any((is_old, is_disk_full, not_kept)):
|
if any((is_old, is_disk_full, not_kept)):
|
||||||
print("Deleting {}".format(d))
|
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)
|
subprocess.call(cmd, shell=False)
|
||||||
|
|
||||||
def make_hardlinks(self):
|
def make_hardlinks(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user