diff options
-rwxr-xr-x | scripts/gc.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/gc.sh b/scripts/gc.sh index dcca50a..9ca5af3 100755 --- a/scripts/gc.sh +++ b/scripts/gc.sh @@ -14,9 +14,11 @@ nix-store --gc nix-collect-garbage -d -## Cleanup up the Trash folder +## Cleanup up the Trash and /tmp folders rm -rf ~/.local/share/Trash/files/* +# https://askubuntu.com/a/609396 +sudo find /tmp -type f -atime +10 -delete ## Erasing docker images |