guix/scripts/maintenance/gc-commands

3 lines
229 B
Text
Raw Normal View History

2011-08-27 16:59:32 +00:00
./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/