Created
December 1, 2016 20:05
-
-
Save santerref/250cfe2c90838321e6e2a3297889bfca to your computer and use it in GitHub Desktop.
Replace all underscores with dashes.
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
#/bin/bash | |
for file in *; do mv "$file" `echo $file | tr '_' '-'` ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment