Zet - How Do I get find to ignore a path?

How Do I get find to ignore a path?

Use the -not and -path args

Example:

find . -type d -name 'node_modules' -not -path './shared/*'

#find #bash