Skip to content

Instantly share code, notes, and snippets.

@nmccready
Created August 7, 2020 13:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmccready/c9ee2e98094cb315f86a5cd96deac5fd to your computer and use it in GitHub Desktop.
Save nmccready/c9ee2e98094cb315f86a5cd96deac5fd to your computer and use it in GitHub Desktop.
recusive rename mult files
$ find . -name 'index.go' -type f -exec rename 's/index\.go/main\.go/' '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment