Path: utzoo!mnetor!uunet!husc6!bbn!tron.bbn.com!jbatson From: jbatson@tron.bbn.com.bbn.com (James Batson) Newsgroups: comp.unix.questions Subject: Re: Finding Files Message-ID: <19140@bbn.COM> Date: 9 Dec 87 19:01:56 GMT References: <205700003@prism> Sender: news@bbn.COM Reply-To: jbatson@tron.bbn.com.UUCP (James Batson) Organization: BBN Advanced Computers, Inc., Cambridge, MA Lines: 13 In article <205700003@prism> billc@prism.UUCP writes: > Right now, to find a file somewhere under my current directory: > alias where "find \$cwd -name \!* -exec echo {} \;" > Question: Is there a better way to do this? Why not try alias where "find \$cwd -name \!* -print" The exec is an expensive way to get a filename that find already knows about, and will print for you. Is there a reason you were echo'ing instead of printing? Jay Batson