Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm a bit new to the command line and UNIX but am finding it hugely useful. Is it possible for me to rsync from putty on my windows 7 machine to my virtual server?

If not what are my other command line options? I just want to update my cms scripts without having to SFTP into each website account with Filezilla. A nice rsync command would suit me better.

share|improve this question
add comment

4 Answers

up vote 3 down vote accepted

Cygwin is a way to run a Linux-like environment on window. Among other things it provides a rsync binary.

http://www.cygwin.com/

share|improve this answer
    
So I guess the question is now can I SSH with Cygwin? I'm guessing I can. –  firefusion May 1 '11 at 9:30
    
Ok I think I found it inside.mines.edu/~gmurray/HowTo/sshNotes.html –  firefusion May 1 '11 at 9:47
add comment

Have a look at Deltacopy which is a windows implementation of rsync. The package contains just what you need to do the job.

share|improve this answer
add comment

Consider using cwRsync, a packaging of rsync for Windows. PuTTY by itself does not provide rsync.

share|improve this answer
add comment

I use rsync in Cygwin on Win-XP to transfer files to and from a Linux virtual server. If your Centos server has a name which Windows 7 understands, it might be as simple as

rsync -avz --progress ~/sortdata/ root@centos:/var/www/sort/

It's not necessary to use Putty - that would probably mean logging into the Centos server and doing the rsync in the opposite direction.

BTW, keep using that command-line -- it gets easier with practice.

share|improve this answer
    
Thanks. This is useful. –  firefusion May 3 '11 at 7:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.