summaryrefslogtreecommitdiffstats
path: root/.local/bin/reclaim
blob: f754fe56781ef3689208aa8944ef19f0dea8cc50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env fish

switch (rg "^ID" /etc/os-release)
    case arch
        paccache -rk 1
end

journalctl --vacuum-size=500M

docker volume prune
docker image prune -a
docker buildx prune
docker container prune --filter "until=720h" # remove containers stopped more than 30 days ago