I\'m trying to run a find command for all JavaScript files, but how do I exclude a specific directory?
find
Here is the find code we\'re using.<
I prefer the -not notation ... it's more readable:
-not
find . -name '*.js' -and -not -path directory