Rename files on the command line
for f in text_to_replace; do mv "$f" "${f/text_to_replace/text_to_use}";done