[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Find: how do you exclude multiple directories?



How can you use find to exclude more than one directory?

I have:
	find /home/ac/ -path '/home/ac/.netscape' -prune -o -print

This excludes ~/.netscape but I can't add any more directories to this
list.  Is it possible to do so?

Anthony



-- 
Anthony Campbell - running Linux Debian 2.2 (Windows-free zone)
Over 100 book reviews: http://www.cix.co.uk/~acampbell/bookreviews/
Skeptical essays: http://www.cix.co.uk/~acampbell/freethinker/

"Palo y tente tieso." (Spanish proverb)
Free translation: "Holdfast is your only dog."



Reply to: