Answer the question
In order to leave comments, you need to log in
Replacing text in a bunch of files via console?
Comrade friends, greetings.
There are sitemaps (50+ files of 20k lines each) you need to change all http:// links to https://
in all
How can this be done using the console? find there or what else? Go through all the files at once and change http to https. I'm a linux noob and manually editing files is not an option at all.
Answer the question
In order to leave comments, you need to log in
Most likely, sed will do
(in the example, change http to https in all files in the current directory)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question