scp with DOSish paths

2004-07-14 Thread Jörg Schaible
Hello, can anything be done (environmetn variable, option ?), that would allow scp to support DOSish absolute paths? $ pwd /cygdrive/c $ scp 'C:\test\file.txt' host:/target/ ssh: C: no address associated with name $ scp '\test\file.txt' host:/target/ \test\file.txt: No such file or directory

Re: scp with DOSish paths

2004-07-14 Thread Corinna Vinschen
On Jul 14 10:59, J?rg Schaible wrote: Hello, can anything be done (environmetn variable, option ?), that would allow scp to support DOSish absolute paths? Nope. $ pwd /cygdrive/c $ scp 'C:\test\file.txt' host:/target/ ssh: C: no address associated with name foo:bar is the rsh/csh

RE: scp with DOSish paths

2004-07-14 Thread Jörg Schaible
Corinna Vinschen wrote on Wednesday, July 14, 2004 1:45 PM: Background: scp is called by a Java application (Maven) and I cannot even wrap the call with a script. Sure you can. Create a script called scp which is in Maven's $PATH before /usr/bin. No. Been there, done that. But a call to

Re: scp with DOSish paths

2004-07-14 Thread ahnkle
Jörg Schaible wrote: Hello, can anything be done (environmetn variable, option ?), that would allow scp to support DOSish absolute paths? $ pwd /cygdrive/c $ scp 'C:\test\file.txt' host:/target/ ssh: C: no address associated with name scp `cygpath -u 'C:\test\file.txt'` host:/target/ ahnkle --