Created
March 14, 2016 18:55
-
-
Save maztch/dbec1bd2d0ec4307727e to your computer and use it in GitHub Desktop.
Replace spaces for undescore in file names
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
$ for f in *\ *; do mv "$f" "${f// /_}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment