using command: find . -type f -name '*service_type*' -exec bash -c 'mv "$0" "${0//service_type/service_category}"' {} \