On Nov 26, 2007 2:43 PM, Chris Tankersley
<[EMAIL PROTECTED]> wrote:
...
> That's because your directory name follows the same command pattern that
> scp looks for:
>
> <server>:<directory>
>
> so it's looking to SCP a directory called '31' on the server
> '127.0.0.1-2007-11-26-18' to the other server.

Right.

> If you put the filename in quotes, does it work?

No, because the quotes will only be seen by the shell and not by scp.
If you did manage to get the quotes to scp (by escaping them at the
shell level) it would just think them part of the hostname and
filename.  (How else would you copy a file whose name contained a
quote?)


Philip Guenther

Reply via email to