Skip to content

Instantly share code, notes, and snippets.

@hoserdude
Created February 25, 2013 21:24
Show Gist options
  • Save hoserdude/5033457 to your computer and use it in GitHub Desktop.
Save hoserdude/5033457 to your computer and use it in GitHub Desktop.
PowerShell equivalent to rm -r {pattern}. Usage: delete-recursively.ps1 *.foo
Get-ChildItem . -r $args[0] | Remove-Item -r -force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment