diff options
Diffstat (limited to '.local/bin/reclaim')
| -rwxr-xr-x | .local/bin/reclaim | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/.local/bin/reclaim b/.local/bin/reclaim deleted file mode 100755 index f754fe5..0000000 --- a/.local/bin/reclaim +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | #!/usr/bin/env fish | ||
| 2 | |||
| 3 | switch (rg "^ID" /etc/os-release) | ||
| 4 | case arch | ||
| 5 | paccache -rk 1 | ||
| 6 | end | ||
| 7 | |||
| 8 | journalctl --vacuum-size=500M | ||
| 9 | |||
| 10 | docker volume prune | ||
| 11 | docker image prune -a | ||
| 12 | docker buildx prune | ||
| 13 | docker container prune --filter "until=720h" # remove containers stopped more than 30 days ago | ||
