Skip to content

Instantly share code, notes, and snippets.

@chodorowicz
Last active December 20, 2016 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chodorowicz/6bfe4ffc8208ff5851b188670d31865e to your computer and use it in GitHub Desktop.
Save chodorowicz/6bfe4ffc8208ff5851b188670d31865e to your computer and use it in GitHub Desktop.
find shell tool
# 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