Skip to content

Instantly share code, notes, and snippets.

@WonRhee
Created July 26, 2017 21:31
Show Gist options
  • Save WonRhee/8267c01fd035cbf407a0c464461bea51 to your computer and use it in GitHub Desktop.
Save WonRhee/8267c01fd035cbf407a0c464461bea51 to your computer and use it in GitHub Desktop.
Rename shell script example - dash to underscore
# rename dash to underscore using regex style
rename "s/-/_/g" *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment