Created
April 28, 2016 10:10
-
-
Save db0company/17ce065f5d0f2c9fd4096a2b1e6872bc to your computer and use it in GitHub Desktop.
Replace spaces in all files in a folder with underscores
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