Log matched media cleanup files
This commit is contained in:
parent
87288561b9
commit
89e6a4d78c
4 changed files with 31 additions and 3 deletions
|
|
@ -160,6 +160,10 @@ def cleanup_media(
|
|||
if path.resolve() in protected:
|
||||
continue
|
||||
result.matched_files += 1
|
||||
print(
|
||||
f"media cleanup: matched path={path.resolve()} bytes={stat.st_size}",
|
||||
file=output,
|
||||
)
|
||||
if dry_run:
|
||||
continue
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue