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