Skip to content

Instantly share code, notes, and snippets.

@keithmorris
Created May 29, 2014 01:27
Show Gist options
  • Save keithmorris/afe82ff878e8e82780ce to your computer and use it in GitHub Desktop.
Save keithmorris/afe82ff878e8e82780ce to your computer and use it in GitHub Desktop.
Rename multiple files from command prompt
for i in .ebextensions/*.dev.yaml; do cp "$i" "`echo $i | sed 's/\.dev\.yaml/\.config/g'`"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment