find . -type f | sed ‘p;s:subtheme:mysubtheme:’ | xargs -n2 mv
find . -type f -name ‘*.py’ -exec sed -i -r ‘s/regexp/new_replacement/g’ {} \;
find . -type f | sed ‘p;s:subtheme:mysubtheme:’ | xargs -n2 mv
find . -type f -name ‘*.py’ -exec sed -i -r ‘s/regexp/new_replacement/g’ {} \;
Оставьте свой отзыв