version 1.338, 2010/06/28 20:16:21 |
version 1.339, 2010/07/13 12:28:13 |
|
|
|
|
# prune quickly with one rm, then use find to clean up /tmp/[lq]* |
# prune quickly with one rm, then use find to clean up /tmp/[lq]* |
# (not needed with mfs /tmp, but doesn't hurt there...) |
# (not needed with mfs /tmp, but doesn't hurt there...) |
(cd /tmp && rm -rf [a-km-pr-zA-Z]* && |
(cd /tmp && rm -rf [a-km-pr-zA-Z]*) |
|
(cd /tmp && |
find . ! -name . ! -name lost+found ! -name quota.user \ |
find . ! -name . ! -name lost+found ! -name quota.user \ |
! -name quota.group -execdir rm -rf -- {} \; -type d -prune) |
! -name quota.group -execdir rm -rf -- {} \; -type d -prune) |
|
|