Skip to content

Instantly share code, notes, and snippets.

@letroll
Created May 4, 2019 20:24
Show Gist options
  • Select an option

  • Save letroll/8ee36a7e5baf2bda4ee29ecf1e002f99 to your computer and use it in GitHub Desktop.

Select an option

Save letroll/8ee36a7e5baf2bda4ee29ecf1e002f99 to your computer and use it in GitHub Desktop.
[remove file which filename containing "toto" (recursive)] remove file with filename filter #shell #rm #filter
find . -name "*toto*" -exec rm -f '{}' +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment