daily pastebin goal
55%
SHARE
TWEET

Wordpress cleaner

the_milkman Jun 19th, 2017 (edited) 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. PWD=/var/www/yoursite
  4. PATTERN="ltggtx"
  5.  
  6. fgrep -l -r $PATTERN $PWD | xargs sed -i '' -e 's/<.*?>//'
RAW Paste Data
Top