Interactive 2.2 File zapper.

Ray Shwake shwake at raysnec.UUCP
Sat Jul 28 02:17:36 AEST 1990


jrh at mustang.dell.com (James Howard) writes:

>touch /lost+found
>find /lost+found -mtime +14 -exec rm -rf {} \; >/dev/null 2>&1

	... except that touch will create a FILE if the entity does not
	already exist. Better to do something like:

	if [ -d /lost+found ]; do
		find ....
	fi



More information about the Comp.unix.i386 mailing list