Skip to content

Instantly share code, notes, and snippets.

@aaronbuchanan
Created July 22, 2014 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronbuchanan/019e09161a86da62e2fd to your computer and use it in GitHub Desktop.
Save aaronbuchanan/019e09161a86da62e2fd to your computer and use it in GitHub Desktop.
rename files with prefix
$ for filename in OrigPrefix*; do echo mv \"$f\" \"${f//OrigPrefix/NewPrefix}\"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment