http://www.perlmonks.org?node_id=816732


in reply to Copy file to linux machine from windows

There is more than one way to do it. Personally I have Cygwin on the PC and from a Cygwin shell do something like:

Prompt: cd d:/temp/tt Prompt: tar cf - mydir | ssh -l web 192.168.6.45 "(cd /tmp;tar xvf -)" Password for web on elrond: *****