Created
June 23, 2014 06:26
-
-
Save bsenduran/57506868c4959693629a to your computer and use it in GitHub Desktop.
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
* | |
When scp ing a file which has white spaces in its name have to escape twice, | |
because it's escaped locally and then on the remote end. | |
There are a couple of options you can do (in bash): | |
scp [email protected]:"'web/tmp/Master File 18 10 13.xls'" . | |
scp [email protected]:"web/tmp/Master\ File\ 18\ 10\ 13.xls" . | |
scp [email protected]:web/tmp/Master\\\ File\\\ 18\\\ 10\\\ 13.xls . | |
(http://stackoverflow.com/a/20364170) | |
-------------------------------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment