diff options
author | EuAndreh <eu@euandre.org> | 2018-07-24 16:33:41 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2018-07-24 16:33:41 -0300 |
commit | 60e18fa4801e795707b84cdfc67bbf786f7e103c (patch) | |
tree | 1b0bb0623e9bdc105c1c60e030706d66363427d7 /scripts | |
parent | Add useful merkle-tree bash function (diff) | |
download | dotfiles-60e18fa4801e795707b84cdfc67bbf786f7e103c.tar.gz dotfiles-60e18fa4801e795707b84cdfc67bbf786f7e103c.tar.xz |
Also cleanup old things in /tmp folder in gc.sh
Diffstat (limited to 'scripts')
-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 |