Answer the question
In order to leave comments, you need to log in
How to edit many files?
Tell me, I have 30 thousand files. For example, they have the same tag everywhere, for example New, I want to change it to Changed everywhere, Sometimes in one file you need to make such 5-10 changes.
How can this be implemented at all? Through the command line or is there a program in which you can do this?
Answer the question
In order to leave comments, you need to log in
find ./<путь> -type f -exec sed -i s'/<подстрока>/<замена>/g' {} \;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question