Skip to content

Instantly share code, notes, and snippets.

@dreamyguy
Last active April 29, 2016 08:57
Show Gist options
  • Select an option

  • Save dreamyguy/8a3f0ecbdb946b724d767b49f8144025 to your computer and use it in GitHub Desktop.

Select an option

Save dreamyguy/8a3f0ecbdb946b724d767b49f8144025 to your computer and use it in GitHub Desktop.
Find files that are older than x days while excluding directories
find . -mtime +200 -name "*.js" -not -path "./components/*" -not -path "./node_modules/*" -not -path "./.git/*" -print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment