lix-releng-staging/scripts/maintenance/gc-commands
2011-08-27 16:59:32 +00:00

3 lines
229 B
Plaintext

./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/