Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

find using "-prune"

0 views
Skip to first unread message

Ben

unread,
May 22, 2002, 11:38:50 PM5/22/02
to
Hi all,

How do I use "find" to ignore a given path?

for example I want to find recursively starting at "/" directory but I
want to ignore "/dev" and "/proc"... I think I have to use "prune"
option for this but I couldn't get it right...

Please help!!

Ben

Rinaldi J. Montessi

unread,
May 23, 2002, 8:03:09 AM5/23/02
to

find / -path /proc -prune -o

Rinaldi
--
Moral standards are absolute; but human fidelity to them is always
relative. -Joseph Sobran

0 new messages