In all files in a folder and in subfolders.

    1 answer 1

    For example:

    grep -lr -e 'было' . | xargs sed -i 's/было/стало/g'