[torqueusers] no spaces in directory names

Konrad Karczewski xeno at alfa.icis.pcz.pl
Thu Feb 7 04:28:15 MST 2008



On Wed, 6 Feb 2008, Miles O'Neal wrote:

> Konrad Karczewski said...
>
> |If I'm not mistaken scp works in the following way: it starts scp
> |process on the remote machine, passes the appropriate string to it and
> |then does all the necessary operation to get the data transferred. It's
> |important to note that the passed string undergoes shell expansion on the
> |remote side:
> |
> |scp remote:dir/* .
> |
> |works 'as expected' bringing all the remote files to local dir. This
> |actually explains all the cases below:
>
> I assume you mean:
>
>    scp remote:dir/\* .
>
> As written, your example expands in the local shell.

Not necessarily - if you don't have 'dir/' locally it won't expand - no
match :)


best regards,
Konrad


More information about the torqueusers mailing list