This is the mail archive of the
cygwin
mailing list for the Cygwin project.
scp with DOSish paths
- From: Jörg Schaible <Joerg dot Schaible at Elsag-Solutions dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 14 Jul 2004 10:59:01 +0200
- Subject: scp with DOSish paths
- Reply-to: cygwin at cygwin dot com
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/