rename many files at once
${var/originaltext/replacetext}
So now, if we run this command on our directory:
for f in *;do mv $f ${f/test/prod};done
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
${var/originaltext/replacetext}
for f in *;do mv $f ${f/test/prod};done