about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/maintenance/gc-commands2
-rwxr-xr-xscripts/maintenance/gc-releases.pl (renamed from scripts/gc-releases.pl)0
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/maintenance/gc-commands b/scripts/maintenance/gc-commands
new file mode 100644
index 000000000000..26459c738e8c
--- /dev/null
+++ b/scripts/maintenance/gc-commands
@@ -0,0 +1,2 @@
+./gc-releases.pl /data/webserver/dist/*/*/MANIFEST > dead
+cat dead | xargs mv --target-directory=/data/webserver/trash/
diff --git a/scripts/gc-releases.pl b/scripts/maintenance/gc-releases.pl
index 9c81a68e835b..9c81a68e835b 100755
--- a/scripts/gc-releases.pl
+++ b/scripts/maintenance/gc-releases.pl