Last active
June 25, 2019 09:42
-
-
Save zackferrofields/de05701d71b7d3d3dec3c26b5bad64f9 to your computer and use it in GitHub Desktop.
list files cheatsheet
This file contains hidden or 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
# list files by name | |
# | |
# find $PATH -name '$FILE_NAME' -print | rev | cut -d/ -f1 | rev" | |
# | |
# eg all javascript files in "src" | |
# | |
find ./src -name '*.js' -print | rev | cut -d/ -f1 | rev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment