Skip to content

Instantly share code, notes, and snippets.

@yradunchev
Created December 20, 2012 14:17
Show Gist options
  • Select an option

  • Save yradunchev/4345527 to your computer and use it in GitHub Desktop.

Select an option

Save yradunchev/4345527 to your computer and use it in GitHub Desktop.
'Sanitize' USB flash drve..
find . -regex ".*\.\(inf\|exe\|bat\)" -exec sh -c 'mv "$0" "${0%}.SUSPICIOUS"' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment