diff options
Diffstat (limited to 'cleanoldmeta')
-rwxr-xr-x | cleanoldmeta | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cleanoldmeta b/cleanoldmeta index 21714a9..70c3710 100755 --- a/cleanoldmeta +++ b/cleanoldmeta @@ -22,12 +22,11 @@ function clean ($path) { } foreach ($tab as $n => $files) { if (count($tab[$n]) > KEEP) { - echo " $n\n"; krsort($tab[$n]); while (count($tab[$n]) > KEEP) { $f = array_pop($tab[$n]); if (unlink("$path/$f")) { - echo " $f\n"; + echo " $f\n"; } } } |