Home / Hosting Cron Jobs / Find string an delete it

Find string an delete it

find -type f -exec grep -l 'bad-string-to-delete' {} \; -exec sed -i 'bad-string-to-delete' {} \;

Top
Trending Now : Conditional CSS Based on Page ID