Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.unix.wizards Subject: Re: Problem with find(1) Message-ID: <4072@bsu-cs.UUCP> Date: 23 Sep 88 03:18:40 GMT References: <108@forsight.Jpl.Nasa.Gov> Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 21 In article <108@forsight.Jpl.Nasa.Gov> roston@robotics.jpl.nasa.gov (Gerry Roston) writes: [ on using find ] >Does anyone have any ideas how I can simply skip news/spool? Do I understand correctly that you want "find" to list all files except those inside news/spool? If so, just use a pipeline like this: find / | grep -v '\./usr/spool/news/spool.*' My "stuff" utility for MS-DOS, which implements a tiny subset of "find", looks for a match of the the entire current pathname if the pattern supplied after -name contains any slashes. I find this much more useful than only matching the filename part and recommend to those helping UNIX evolve that future versions of "find" do the same. (But please be upward compatible.) -- Rahul Dhesi UUCP:!{iuvax,pur-ee,uunet}!bsu-cs!dhesi