Displaying 1 result from an estimated 1 matches for "jrsync".
Did you mean:
rsync
2009 Mar 25
1
Pipe creation problem: From Java app using rsync + ssh on windows with cygwin
...ine.
My test java call looks like this.
*
String[] envVars = {"PATH=c:/cygwin/bin;%PATH%"};
File workingDir = new File("c:/cygwin/bin/");
Process p = Runtime.getRuntime().exec("c:/cygwin/bin/rsync.exe -verbose -r
-t -v --progress -e ssh /cygdrive/c/Users/dokeeffe/workspace/jrsync/
www.servername.net:/home/dokeeffe/rsync/",envVars,workingDir);
*
Then I start 2 stream reader threads to capture and log the inputStream and
errorStream of the Process p.
Here is the output....
*DEBUG: com.mddc.client.rsync.StreamGobbler - opening connection using: ssh
www.derekokeeffe.net r...