Skip to content

Instantly share code, notes, and snippets.

@frontrangerider2004
Created June 19, 2018 03:32
Show Gist options
  • Save frontrangerider2004/3e5ed2a0b026cc9a488c30bf1559b60c to your computer and use it in GitHub Desktop.
Save frontrangerider2004/3e5ed2a0b026cc9a488c30bf1559b60c to your computer and use it in GitHub Desktop.
Rename all files with tacos- in the filename to have burgers- in place of tacos-
for f in $(ls); do mv ${f} ${f/tacos-/burgers}; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment