Re: find command

From: Chris Gregors (Chris.Gregors@TELUS.COM)
Date: Tue Jun 17 2003 - 11:29:04 EDT


Kinda verbose, but includes prunez

find /var -name tmp -prune -o -name uucppublic -prune -o -name preserve -prune -o -name news -prune -o ! -group 0 ! -group 12 ! -type l -exec ls -ld {} ";" >>ns.txt

-----Original Message-----
From: Stephen Spalding [mailto:ssaixadm@YAHOO.COM]
Sent: Tuesday, June 17, 2003 8:16 AM
To: aix-l@Princeton.EDU
Subject: find command

Can anyone give me an example of the -prune switch on
the find command? I'm trying to omit certain
directories from my find command and for the life of
me I can't remember how to use that switch.

Thanks!

-Stephen Spalding

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:55 EDT