nix-super/scripts/maintenance/gc-commands
2011-08-27 16:59:32 +00:00

2 lines
229 B
Text

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