On Thu, 05 Nov 1998 13:18:46 EST, Tom Reingold wrote:
: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?
find . -name .snapshot -prune -o -print
Well, as with most uses of `-o' you probably need the appropriate ( ) pair. It looks like this under Solaris:
find . ( -name .snapshot -prune ) -o <mumble> -print
Insert whatever your expression would be for "<mumble>", of course.
-- Rob ---------------------------------------- Rob Windsor E-Mail - mailto:windsor@adc.com Senior Unix Systems Administrator Voice - phone:972-680-6919 Computer Services Fax - phone:972-680-0370 Business Broadband Group ADC Telecommunications Richardson, TX 75082