Created
July 11, 2018 20:21
-
-
Save wchargin/ad87571235ad0bbb02a998d4a2e2c6e3 to your computer and use it in GitHub Desktop.
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
$ touch file1 'filename with spaces' | |
$ for file in *; do cp "$file" "$file.bak"; done | |
$ ls -1 | |
file1 | |
file1.bak | |
filename with spaces | |
filename with spaces.bak |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment