Skip to content

Instantly share code, notes, and snippets.

@maximilien
Created March 29, 2016 21:57
Show Gist options
  • Save maximilien/9f98e3aa36a5164d2e4ed847a7fbbc21 to your computer and use it in GitHub Desktop.
Save maximilien/9f98e3aa36a5164d2e4ed847a7fbbc21 to your computer and use it in GitHub Desktop.
Find files name with some exention pattern and delete
#!/bin/sh
find . -name "$1" -exec rm -f {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment