diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-08-27T16·59+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-08-27T16·59+0000 |
commit | 5bcdc7e3517e6d679cad1aaba41e4deb76d5a6e7 (patch) | |
tree | f572f2cb2cfc366dbaa957a70f96a63b7c8120ef /scripts/maintenance/gc-commands | |
parent | a95ba4cdd9aa9f9c98928732dd26fba2757ade26 (diff) |
* Update the cleanup script.
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 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/ |