Last active
December 20, 2016 15:16
-
-
Save chodorowicz/6bfe4ffc8208ff5851b188670d31865e to your computer and use it in GitHub Desktop.
find shell tool
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
# find files in several folders | |
find foo bar baz -name "*.py" | |
# find | |
find . -name "__tests__" | |
# used with Mocha → find spec files in app and test folders | |
mocha $(find test app -path *.spec.js) | |
# find recursivelly all symlinks | |
# http://stackoverflow.com/a/21438684/229695 | |
find . -type l -ls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment