TEMPLATE_NAME for i in *; do if [[ -f $i ]]; then sed -e 's,__TEMPLATE_USER__,kdridi,g' -e 's,__TEMPLATE_NAME__,project,g' -i '' "$i"; fi; done