[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
howtos:general_admin:free_your_space [2013/07/26 15:46 (UTC)] – Change find cmd to use builtin xargs, so there is no need for invoking another program fl0 | howtos:general_admin:free_your_space [2017/05/26 10:22 (UTC)] (current) – [/tmp directory] Fix the scriptlet example. alienbob | ||
---|---|---|---|
Line 62: | Line 62: | ||
find /tmp -type s -exec /bin/touch {} \; | find /tmp -type s -exec /bin/touch {} \; | ||
find /tmp -type d -empty -mtime +37 -exec /bin/rmdir {} \; | find /tmp -type d -empty -mtime +37 -exec /bin/rmdir {} \; | ||
- | find /tmp -type f -mtime +37 -exec rm -rf {} | + | find /tmp -type f -mtime +37 -exec rm -rf {} \; |
</ | </ | ||