Skip to content

Instantly share code, notes, and snippets.

@mcandre
Last active February 3, 2019 15:11
Show Gist options
  • Save mcandre/f7f4cb9d920985a09332fb2767e0715d to your computer and use it in GitHub Desktop.
Save mcandre/f7f4cb9d920985a09332fb2767e0715d to your computer and use it in GitHub Desktop.
How to delete files with the UNIX find utility in MirBSD

Dry run:

find . -name '<pattern>' -print

Execute:

find . -name '<pattern>' -print -exec rm -rf {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment