about summary refs log tree commit diff
path: root/scripts/maintenance/gc-commands
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/maintenance/gc-commands')
-rw-r--r--scripts/maintenance/gc-commands4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/maintenance/gc-commands b/scripts/maintenance/gc-commands
index 26459c738e8c..3d548da19a2d 100644
--- a/scripts/maintenance/gc-commands
+++ b/scripts/maintenance/gc-commands
@@ -1,2 +1,2 @@
-./gc-releases.pl /data/webserver/dist/*/*/MANIFEST > dead
-cat dead | xargs mv --target-directory=/data/webserver/trash/
+./gc-releases.pl /data/releases/patches/all-patches $(find /data/releases -name MANIFEST) | sort > dead
+cat dead | xargs -d '\n' sh -c 'find "$@" -mtime +100 -print' | xargs -d '\n' mv -v --target-directory=/data/releases/trash/