/ Published in: Bash
How to filter files and directories with the find command.
The command below finds files that end in "sass," but not the file named "constants.sass," and not the directory "landing_page," nor any of its contents.
Expand |
Embed | Plain Text
find . ! -name "*constants.sass" ! -path "*landing_page*" -name "*sass"
You need to login to post a comment.
