<< MSN presence to Skype | Home | Xyladecors wundersame Reichweitenvergrößerung >> | Kontakt

rsync does work with plink - part 2

solution available

<Update>
There is a new version with a bugfix.
</Update>

As I wrote in rsync does work with plink I tested a wrapper program to solve the invalid handle problem.

Now I make this program available (see Anhang). You may send me a note about your experiences or leave a comment here.

Cygnative.exe is a wrapper for cygwin programs which call native Win32 programs with stdin and/or stdout handle redirected. Without cygnative.exe it is possible that the native program can not read from the handle and receives a "invalid handle" error.

Usage:

cygnative <nativeProgram> [args...]

Example with rsync and plink:

rsync --blocking-io -e "cygnative plink -batch" -h -a 
--delete / user@server:/data2/backup/



Re: rsync does work with plink - part 2

Where I can download cygnative utility ?

Re: rsync does work with plink - part 2

You can download the program as mentioned in the text via the link named "Anhang", that points to http://diario.beerensalat.info/files/cygnative1.0.zip.

Re: rsync does work with plink - part 2

Works like a charm, thanks Frank!

Re: rsync does work with plink

Well done!

Solved my problems. Now I can rsync my pictures from a laptop to the web server.

Re: rsync does work with plink - part 2

Frank, you are wizard!!!!!!!!!! Many-many thanks!!!!!!!!! I did it via unencrypted SSH private key that is a big security hole, and now I can run it via plink/pageant! Voila!

Re: rsync does work with plink - part 2

Thanks!

Re: rsync does work with plink - part 2

Super, danke :)

Re: rsync does work with plink - part 2

Hi Frank, thanks for your very helpful tool. Just a quick question: Is there any specific reason for using --blocking-io in your example? Is this recommended with plink? Thanks and best regards, Felix

rsync does work with plink

Frank Behrens published cygnative, a small wrapper program that resolves an incompatibility between cygwin and Win32 native programs.

Kommentar hinzufügen Trackback senden