-   Linux - General (
-   -   Comparing two folders and scp the difference (

joao.m.esteves 11-02-2008 06:37 AM

Comparing two folders and scp the difference

I have a folder with some documents in a PC at the University and a copy at home. How can I update the copy? I mean, I would like to copy only the new documents in that folder. Does scp has some option for it, or perhaps combining it with diff? I can access the PC on the University with ssh.


SkyEye 11-02-2008 07:26 AM

Try rsync. It's the common tool used for cases like your and it can work over SSH. You'll most probably have it already install or available in repos.

joao.m.esteves 11-02-2008 08:31 AM

Ok, thanks, I didn't know about it. I've tried and it works fine!


All times are GMT -5. The time now is 03:52 PM.