Skip to content

Instantly share code, notes, and snippets.

@izimbra
Last active December 15, 2015 22:58
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 izimbra/5336426 to your computer and use it in GitHub Desktop.
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
find $FOLDER | grep -e '.[xml|XML]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment