Skip to content

Instantly share code, notes, and snippets.

@bboydflo
Created January 20, 2020 19:44
Show Gist options
  • Save bboydflo/4bddc2d1218803921bd838f575792eab to your computer and use it in GitHub Desktop.
Save bboydflo/4bddc2d1218803921bd838f575792eab to your computer and use it in GitHub Desktop.
[macos remove files recursively] when you need to remove all files within a specific folder
# from this so answer: https://stackoverflow.com/a/5061651/1597360
find . -name "*.ts" -exec rm -rf {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment