Last active
December 15, 2015 22:58
-
-
Save izimbra/5336426 to your computer and use it in GitHub Desktop.
Recursively lists files of specific type in a directory (XML in this case).
Unlike `ls' command, `find' only outputs paths of the files, which makes it possible to use them as arguments to other commands.
Syntax below was tried in OS X 10.8.3
#shell #osx
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 $FOLDER | grep -e '.[xml|XML]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment