Chad,
find is a very powerful command! You should be able to accomplish this with the the following syntax:
find . -name .snapshot -prune -o -print
This will prevent find from examining any files under .snapshot. See the man page for find.
good luck,
--calvin
________________________________________________________________________ Calvin Gluck mailto:cgluck@ti.com On loan to Texas Instruments ASP Workstation Support from Ajilon Inc. "Contents may have settled during shipping."
On Thu, 5 Nov 1998, Chad H. Tudor wrote:
Date: Thu, 5 Nov 1998 09:54:20 -0800 (PST) From: "Chad H. Tudor" chtudor@stanford.edu To: Tom Reingold tommy@bell-labs.com Cc: toasters@mathworks.com Subject: Re: can't see ~snapshot directory
:Let's be fair. snapshots are strange. They are links to files, but :they appear to be duplicates. We had to provide our unix users with :a new "du" command so it wouldn't traverse snapshots.
This raises another question.
Would there be a find laying about that ignores same?
Chad
Chad H Tudor System Administrator Highwire Press chtudor@stanford.edu http://highwire.stanford.edu