aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-02-27 11:09:47 -0300
committerEuAndreh <eu@euandre.org>2023-02-27 11:09:47 -0300
commit0c1bb9c3c524370a623fb3fbc8fcb88bba188c54 (patch)
tree2de18210ac2f5de805627c8d069e24cf9fb13937
parentbin/forever: Add -q flag (diff)
downloaddotfiles-0c1bb9c3c524370a623fb3fbc8fcb88bba188c54.tar.gz
dotfiles-0c1bb9c3c524370a623fb3fbc8fcb88bba188c54.tar.xz
bin/gc: Do not filter /tmp files by type "file"
-rwxr-xr-xbin/gc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gc b/bin/gc
index 50127bd..3c2ade9 100755
--- a/bin/gc
+++ b/bin/gc
@@ -118,7 +118,7 @@ gc_trash() {
}
gc_tmpdir() {
- find "${TMPDIR:-/tmp}" -type f -atime +10 -exec rm -vf "{}" \; ||:
+ find "${TMPDIR:-/tmp}" -atime +10 -exec rm -vf "{}" \; ||:
}
gc_docker() {