This commit is contained in:
2025-08-21 12:13:54 +02:00
parent 4327d7490b
commit a57c73cc74

View File

@@ -618,7 +618,7 @@ if _BACKUP:
#cmnd = "find {} -maxdepth 1 -type d -mtime +30 -exec rm -rf {{}} \;".format(BACKUP_DIR)
#cmnd = f"cd {BACKUP_ROOT} find ./ -maxdepth 1 -type d -mmin +30 -exec rm -rf {{}} \\;"
cmnd = "ls {BACKUP_ROOT}"
cmnd = f"ls {BACKUP_ROOT}"
#print(cmnd)
@@ -642,7 +642,7 @@ if _BACKUP:
else:
print("No match.")
cmnd = "ls {BACKUP_ROOT}|grep _running"
cmnd = f"ls {BACKUP_ROOT}|grep _running"
#print(cmnd)
# input("????")
logging.info(f"removing obsolete dirs")