How to use the -prune option with linux 'find'

You need to chain everything together with "-o" (or) switches and include an action at the end. It really helps to make it a multiline statement.

Ex:

find dir \
-path dir/nope -prune -o \
-path dir/nyet -prune -o \
-type f \
-name '*.zip' \
-print

So why would you want to do this? Because when you "prune" the directory, "find" skips it entirely. This can speed up the filesystem search greatly.

So, yeah, I did this and it changed my life.