[torqueusers] no spaces in directory names
Miles O'Neal
meo at intrinsity.com
Wed Feb 6 07:29:31 MST 2008
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.
-Miles
More information about the torqueusers
mailing list