Created
November 23, 2017 07:00
-
-
Save morsvox/69b603beb2ad7ca3fe7bb086ec16556d to your computer and use it in GitHub Desktop.
grep поиск и замена в папке ./* (все файлы в текущей папке)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -rl 'то_что_ищем' ./* | xargs perl -p -i -e 's/то_что_ищем/то_на_что_заменяем/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment