Skip to content

Instantly share code, notes, and snippets.

@korsmakolnikov
Created May 27, 2016 12:25
Show Gist options
  • Save korsmakolnikov/971fd9ada93e44fa4ef680e2bd0f77c5 to your computer and use it in GitHub Desktop.
Save korsmakolnikov/971fd9ada93e44fa4ef680e2bd0f77c5 to your computer and use it in GitHub Desktop.
Remove some files by name with exceptions by name
find . -iname 'app_*' ! -name 'app_e2e.php' ! -name 'app_dev*' -type f -exec rm -f {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment