scp'ing files with spaces

Igor Gueths igueths at lava-net.com
Sat May 29 02:50:06 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all. I think I remember doing this once, however can't seem to get 
the syntax quite right. I am trying to scp 1 file from remote machine to 
local machine...What I am trying to copy is a directory tree on the 
remote machine and have it created within my current directory. The 
syntax I have been trying is something like:
scp user at host:"/path/to/this is the file" .
And yes I know I forgot the -r option above, however since I am typing 
this from a Putty terminal its more trouble than its worth to correct 
the message since I can't see what I am typing. Another quoting variant 
I trie dwas:
scp "user at host:/path/to/this is the file" .
Those quoting variants don't seem to be working...What scp ends up doing 
is streating the individual words that make up filename to be 2 
different files. Does anyone know the correct quoting variant to use so 
that scp will interpret it properly? Thanks!
- -- 
Failure is not an option, it comes bundled with your Microsoft product.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAuDKeNohoaf1zXJMRAgXsAJoDGYVuYiv/VM7FTy6Oe3PwizlqZACfQbAh
IUesxc7AMfck/3tSwtNQTbU=
=gl5F
-----END PGP SIGNATURE-----




More information about the Speakup mailing list