SHARE
TWEET

Wordpress cleaner

the_milkman Jun 19th, 2017 (edited) 51 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
Want to get better at Bash?
Learn to code Bash in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top