Skip to content

Instantly share code, notes, and snippets.

@tracertea
Created October 30, 2014 15: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 tracertea/9633f1d55452cbf5f89b to your computer and use it in GitHub Desktop.
Save tracertea/9633f1d55452cbf5f89b to your computer and use it in GitHub Desktop.
list the contents of all files within a directory while ignoring specific subdirectories
find . -type f -not -path "*PATH1/*" -not -path "*MULTI/PATH2/*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment