Handy Command

perl -p -i -e 's/usr\/local\/apache/var\/www/g' * (in a folder)
find ./ -type f -exec sed -i 's/usr\/local\/apache/var\/www/g' {} \;
find ./ -type f -exec sed -i 's/fav_sku=`$fp_prdct.sku` fav_style=`$fp_prdct.is_styl`/fav_sku=“`$fp_prdct.sku`” fav_style=“`$fp_prdct.is_styl`”/' {} \;

Leave a Reply

Your email address will not be published. Required fields are marked *