mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Update delete_old_binaries.py
This commit is contained in:
@@ -21,8 +21,8 @@ def main():
|
|||||||
delta = now - date
|
delta = now - date
|
||||||
|
|
||||||
if delta.days > days_to_keep:
|
if delta.days > days_to_keep:
|
||||||
print(f'Deleting {parts[5]}')
|
print(f'Deleting b2://{bucket}/{parts[5]}')
|
||||||
execute_cli(f'b2 rm {parts[0]}')
|
execute_cli(f'b2 rm b2://{bucket}/{parts[5]}')
|
||||||
|
|
||||||
|
|
||||||
def execute_cli(command):
|
def execute_cli(command):
|
||||||
|
|||||||
Reference in New Issue
Block a user