Using *both* quotes and escaping make it work
e.g.: scp sonamc@websvr2:"/nethome/sonamc/test\:2" /tmp
will copy a file called "test:2"
Regards,
Sonam
Rick Welykochy wrote:
>
> Any idea on how to specify a source file as used in an
> scp or rcp command, where the source filename contains
> a colon?
>
> Here is an example that fails:
>
> [rickw] scp log_20001030-08:41:23 rickw@bini/home/rickw
>
> Bad host name: log_20001030-08
>
> --
> Rick Welykochy || Praxis Services
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
--
Sonam Chauhan
Electronic Commerce
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725 Fax: +61-2-9335-0753
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug