Last active
May 25, 2021 14:34
-
-
Save amiralles/46387739bf01b42ec34428bad6b27226 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is a wraper around the standard find command that excludes directories | |
# we typically want to ignore while working with source code. | |
# This function is handy when we are trying to fuzzy find files using tools like | |
# *selecta* | |
find * -type f \ | |
-not -path "_build/**" \ | |
-not -path "bin/**" \ | |
-not -path "deps/**" \ | |
-not -path "doc/**" \ | |
-not -path "node_modules/**" \ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment