Bash one-liner to rename files
// bash one-liner for renaming files
for f in `find . -name '*replaceme.jpg'` ; do mv $f ${f/replaceme/withme}; 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!)
for f in `find . -name '*replaceme.jpg'` ; do mv $f ${f/replaceme/withme}; done