On Nov 26, 2007 2:24 PM, Eduardo Alvarenga <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] crash]# scp -r 127.0.0.1-2007-11-26-18:31 [EMAIL 
> PROTECTED]:/u02/snap
> ssh: 127.0.0.1-2007-11-26-18: Name or service not known
>
> 127.0.0.1-2007-11-26-18:31 is a directory
>
> It seems that scp is not understanding that 127.0.0.1-2007-11-26-18:31 is a
> directory.
> Can anyone help?

As indicated by the error message, the issue isn't the 127.0.0.1
prefix but rather the colon.  If there's a colon before the first
slash in an argument, then scp will treat it as a host:filename
specification.  If you want it to treat such a name as local, then
prefix it with "./", ala:
        scp -r ./127.0.0.1-2007-11-26-18:31 [EMAIL PROTECTED]:/u02/snap


Philip Guenther

Reply via email to