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