mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-09-13 12:10:12 +02:00
build
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user