Created
July 26, 2017 21:31
-
-
Save WonRhee/8267c01fd035cbf407a0c464461bea51 to your computer and use it in GitHub Desktop.
Rename shell script example - dash to underscore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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