Skip to content

Instantly share code, notes, and snippets.

@morsvox
Created November 23, 2017 07:00
Show Gist options
  • Save morsvox/69b603beb2ad7ca3fe7bb086ec16556d to your computer and use it in GitHub Desktop.
Save morsvox/69b603beb2ad7ca3fe7bb086ec16556d to your computer and use it in GitHub Desktop.
grep поиск и замена в папке ./* (все файлы в текущей папке)
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