Skip to content

Instantly share code, notes, and snippets.

@rctay
Created May 19, 2012 16:42
Show Gist options
  • Select an option

  • Save rctay/2731447 to your computer and use it in GitHub Desktop.

Select an option

Save rctay/2731447 to your computer and use it in GitHub Desktop.
[windows] remove those pesky x.exe...LOG files
find . \
| grep -Pi '^.*\.exe-\d*(\.\d{2}){3}\.\d{3}-\d{2}\.\d{2}\.\d{4}\.LOG$' \
| sed 's/.*/"&"/' \
| xargs rm -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment