Rename files and find and replace text inside those files at the same time with repren
https://github.com/jlevy/repren is pretty great.
repren --full --preserve-case --from publishing_dropbutton --to workflow_buttons .
For python 3, for now, do not use pip to install but get the file directly:
cd ~/.local/bin && wget https://raw.githubusercontent.com/tstapler/repren-1/py3/repren && chmod +x repren
Hope tstapler’s pull request gets accepted someday!