🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sequent
Article #847

Re: problem with find and NFS

#847
From: pwolfe
Date: Thu, 18 May 1989 01:13
16 lines
1139 bytes
> /* Written by pwolfe@kailand.kai.com in kailand:comp.sys.sequent */
> /* ---------- "problem with find and NFS" ---------- */
> The command:
>	find / -type f \( -fstype nfs -prune \) \
>		-o \( -name '#*' -o -name 'core' \) \
>		-atime +3 -exec ls -aFgl {} \; -exec rm -f {} \;

Thanks to everyone who responded.  I know now that my the problem was caused by
my testing for "-type f" before pruning NFS file systems.  The following works:

	find / -fstype nfs -prune -o -type f -atime +3 \( -name '#*' \
	-o -name 'core' \) -exec ls -aFgl {} \; -exec rm -f {} \;

Patrick Wolfe	(pat@kai.com, {uunet,uiucuxc,sequent}!kailand!pat)
System Manager, Kuck and Associates, Inc.
Technical Details
Message-ID: <2400047@kailand>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!uxc!uxc.cso.uiuc.edu!kailand!pwolfe
References: <2400044@kailand>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!uxc!uxc.cso.uiuc.edu!kailand!pwolfe
From: pwolfe@kailand.kai.com
Newsgroups: comp.sys.sequent
Subject: Re: problem with find and NFS
Message-ID: <2400047@kailand>
Date: 18 May 89 01:13:00 GMT
References: <2400044@kailand>
Lines: 16
Nf-ID: #R:kailand:2400044:kailand:2400047:000:673
Nf-From: kailand.kai.com!pwolfe    May 17 20:13:00 1989