I have in a remote
remote_host a file like this:
\home\user\path with spaces\filename with spaces.ext
And I want to
scp it to current dir
.. How can I do that?
After some investigation, I have found these two options:
I hope it helps you too!
You have two options.
Option one: enter spaces as "\ ". Example;
Option two: enter the path in
If you use tabulator key (Tab) to auto-complete the file name, it will insert "\ " automatically, however you need to be using public key authentication for it to work on a remote host.