#
-# $OpenBSD: daily,v 1.98 2024/05/16 11:33:59 solene Exp $
+# $OpenBSD: daily,v 1.99 2024/05/30 14:29:05 sthen Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
# For local additions, create the file /etc/daily.local.
find -x . \
\( -path './ssh-*' -o -path ./.X11-unix -o -path ./.ICE-unix \
-o -path './tmux-*' \) -prune -o \
- -type f -and ! -path './*.shm' -atime +7 -delete 2>/dev/null
+ -type f -and ! -path './*.s[eh]m' -atime +7 -delete 2>/dev/null
find -x . -type d -mtime +1 ! -path ./vi.recover ! -path ./.X11-unix \
! -path ./.ICE-unix ! -name . \
-delete >/dev/null 2>&1; }