Posted By

jarnaldich on 07/05/11


regex delete regexp PowerShell

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Delete files in a directory tree matching a regex

 / Published in: Windows PowerShell

  1. gci -recurse | ? { $_\3.Name -match "<REGEX>" } | ri

Report this snippet  

You need to login to post a comment.