From 5bcdc7e3517e6d679cad1aaba41e4deb76d5a6e7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 27 Aug 2011 16:59:32 +0000 Subject: * Update the cleanup script. --- scripts/maintenance/gc-commands | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/maintenance/gc-commands') diff --git a/scripts/maintenance/gc-commands b/scripts/maintenance/gc-commands index 26459c738..3d548da19 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/ -- cgit v1.2.3