home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.eterna.com.au
/
2014.06.ftp.eterna.com.au.tar
/
ftp.eterna.com.au
/
pub
/
rc.d.tar.gz
/
rc.d.tar
/
rc.d
/
cleartmp
< prev
next >
Wrap
Text File
|
1998-09-23
|
362b
|
13 lines
#! /bin/sh
# PROVIDE: cleartmp
# REQUIRE: mountall
echo clearing /tmp
# Prune quickly with one rm, then use find to clean up /tmp/[lq]* (this
# is not needed with mfs /tmp, but doesn't hurt anything).
(cd /tmp && rm -rf [a-km-pr-zA-Z]* &&
find . ! -name . ! -name lost+found ! -name quota.user \
! -name quota.group -exec rm -rf -- {} \; -type d -prune)