diff options
Diffstat (limited to 'scripts/maintenance/gc-commands')
-rw-r--r-- | scripts/maintenance/gc-commands | 4 |
1 files changed, 2 insertions, 2 deletions
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/ |