This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

scp with DOSish paths


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

$ scp 'test\file.txt' host:/target/
test\file.txt                                                    100% 7395     7.2KB/s   00:00 


Background: scp is called by a Java application (Maven) and I cannot even wrap the call with a script.

-- Jörg

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]