Enjoy Slackware 15.0!
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
howtos:general_admin:free_your_space [2013/07/26 15:46 (UTC)] fl0 Change find cmd to use builtin xargs, so there is no need for invoking another program |
howtos:general_admin:free_your_space [2017/05/26 10:22 (UTC)] (current) alienbob [/tmp directory] Fix the scriptlet example. |
||
---|---|---|---|
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 {} \; |
</ | </ | ||