TIL you can exclude directories when using the find command.

## Exclude the node modules directory when searching with find
find ./ -name "*.css" ! -path "*/node_modules/*"

Source: Stack Overflow