mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
* Update the cleanup script.
This commit is contained in:
parent
a95ba4cdd9
commit
5bcdc7e351
3 changed files with 12 additions and 8 deletions
|
@ -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/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue