Created
March 12, 2018 18:20
-
-
Save airbr/a176b2198c52335be2ee4c7a8f0934f8 to your computer and use it in GitHub Desktop.
Remove spaces from files in a given directory
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