Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$ touch file1 'filename with spaces'
$ for file in *; do cp "$file" "$file.bak"; done
$ ls -1
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
You can’t perform that action at this time.