Double quote scp?

John Davidorff Pell johnpell at mac.com
Fri Dec 5 18:04:18 EST 2003


Good point, I had not thought about that.

Ok, I guess I'll make due. Thanx!

JP



On Dec 4, 2003, at 2:24 PM, Ben Lindstrom wrote:

>
> Historical reasons.  Refer to how 'rcp' worked, and you'll find it does
> the same thing.
>
> - Ben
>
> On Thu, 4 Dec 2003, John Davidorff Pell wrote:
>
>> 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.
>>
>>
>
>



--
". . . Through the cold and darkness
we will look back on this day
and fall into oblivion.
Through a brilliance beyond twilight
we will rise again,
ready to face the dangers that befall on us . . ."


-------------- 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/79299ccd/attachment.bin 


More information about the openssh-unix-dev mailing list