SED Replace - Linux

Replace HTTP with HTTPS (in all *.html files)

sed -i 's|http://sub.example.com|https://sub.example.com|g' *.html



find . -name "*.html" -exec sed -i 's|http://sub.example.com|https://sub.example.com|g' {} \;

 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare