freebsd-dev/etc/periodic/daily/100.clean-disks
1999-08-27 23:37:10 +00:00

12 lines
264 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
exit 0 # do not run by default
find / \( ! -fstype local -o -fstype rdonly \) -a -prune -o \
\( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name '*.core' \
-o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \
-a -atime +3 -delete