I\'m trying to run a find
command for all JavaScript files, but how do I exclude a specific directory?
Here is the find
code we\'re using.<
The following commands works:
find . -path ./.git -prune -o -print
If You have a problem with find, use the -D tree
option to view the expression analysis information.
find -D tree . -path ./.git -prune -o -print
Or the -D all
, to see all the execution information.
find -D all . -path ./.git -prune -o -print