Log matched media cleanup files

This commit is contained in:
Abel Luck 2026-06-01 08:45:42 +02:00
parent 87288561b9
commit 89e6a4d78c
4 changed files with 31 additions and 3 deletions

View file

@ -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: