Double quote scp?

John Davidorff Pell johnpell at mac.com
Fri Dec 5 08:41:08 EST 2003


I've noticed that I need to double quote file names in scp:

> scp gaelicWizard:"Desktop/Picture 1.pdf" .
> scp: Desktop/Picture: No such file or directory
> scp: 1.pdf: No such file or directory

Why is this necessary? Wouldn't it be much better to have scp 
communicate with its server-side counterpart with null-terminated 
strings, not to have the server interpret the strings separately?

Thanx,
JP



--
Every time you share on a P2P network, God kills a kitten.
Please think of the kittens.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2426 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20031204/b0b7aa45/attachment.bin 


More information about the openssh-unix-dev mailing list