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 found the functions name in C sources files exclude *.o and exclude *.swp and exclude (not regular file) and exclude dir output with this command:
find . \( ! -path "./output/*" \) -a \( -type f \) -a \( ! -name '*.o' \) -a \( ! -name '*.swp' \) | xargs grep -n soc_attach