Skip to content

Instantly share code, notes, and snippets.

@nnennajohn
Created February 25, 2019 00:19
Show Gist options
  • Save nnennajohn/9c465be44237856c84fddac5e11f6c47 to your computer and use it in GitHub Desktop.
Save nnennajohn/9c465be44237856c84fddac5e11f6c47 to your computer and use it in GitHub Desktop.
Delete all find ending with Path
// First list files that match to be sure
find . -name "*.spec.js" -type f
then
find . -name "*.spec.js" -type f -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment