Skip to content

Instantly share code, notes, and snippets.

@ganicus
Created March 19, 2012 19:22
Show Gist options
  • Select an option

  • Save ganicus/2125063 to your computer and use it in GitHub Desktop.

Select an option

Save ganicus/2125063 to your computer and use it in GitHub Desktop.
Shell: Find and Delete Using Sed
find . -name "*.php" -type f -exec sed -i '/eval(base64_decode(/d' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment