Skip to content

Instantly share code, notes, and snippets.

@tomshen
Created August 8, 2017 08:23
Show Gist options
  • Save tomshen/2779e5da97c9c7509eb71441c7fd7095 to your computer and use it in GitHub Desktop.
Save tomshen/2779e5da97c9c7509eb71441c7fd7095 to your computer and use it in GitHub Desktop.
How to rename multiple files with a find/replace

How to rename multiple files with a find/replace

for f in *Huge*; do mv $f ${f/Huge/Monstrous}; done

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment