Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TerryMooreII/7bf362c47447789b7cdb09bd296d278a to your computer and use it in GitHub Desktop.
Save TerryMooreII/7bf362c47447789b7cdb09bd296d278a to your computer and use it in GitHub Desktop.
Rename Files in directory
for file in *.js; do mv "$file" "${file/old-value/new-value}”; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment