scp -r <user_name>@<host_name or host_ip>:<Path to your directory> <target_path_dir>
then command will look like this:
scp -r patwa@UnixServer:/home/patwa/mywork /cygdrive/d/patwa
if above command gives error for "/cygdrive/d/patwa"
than
cd /cygdrive/d/patwa
scp -r patwa@UnixServer:/home/patwa/mywork .
Ref - http://www.unix.com/unix-for-dummies-questions-and-answers/35172-copying-files-remote-server-local-system-cygwin.html

0 comments :
Post a Comment