Created
July 14, 2014 16:20
-
-
Save cazepeda-zz/50038b5ff06c5a8d01a6 to your computer and use it in GitHub Desktop.
Renaming spaces to hypens on the command-line
This file contains hidden or 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
for f in * ; do mv "$f" $( echo $f | tr ' ' '-' ) ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment