Rename controllers, models, views ands tests in a rails project.
# List the files you need to rename you could run the following from the root of the project:
find . -name 'user*' | awk '{print $0; gsub(/user/, "system_user"); print $0}' | xargs -n2 echo "mv"
# actually move the files:
find . -name 'user*' | awk '{print $0; gsub(/user/, "system_user"); print $0}' | xargs -n2 mv