Skip to content

Instantly share code, notes, and snippets.

@jonathanconway
Created November 29, 2016 05:19
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 jonathanconway/47435d1e46d00415bebdfc6f4e5d34a5 to your computer and use it in GitHub Desktop.
Save jonathanconway/47435d1e46d00415bebdfc6f4e5d34a5 to your computer and use it in GitHub Desktop.
Remove (recursively) by wildcard. Bash script that removes all files matching the wildcard recursively from the current directory down.
#!/bin/bash
find ./ -type f -name $1 -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment