LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-02-2008, 05:37 AM   #1
joao.m.esteves
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Rep: Reputation: 0
Comparing two folders and scp the difference


Hello:

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.

Thanks,
Joćo
 
Old 11-02-2008, 06:26 AM   #2
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
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.
 
Old 11-02-2008, 07:31 AM   #3
joao.m.esteves
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Ok, thanks, I didn't know about it. I've tried and it works fine!

Regards,
Joao
 
  


Reply

Tags
rsync


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
whats difference betwen this folders? xcore_on Linux - Newbie 5 04-29-2006 05:58 PM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 06:14 AM
useing SCP to copy entire directories with sub folders? Lleb_KCir Linux - General 5 09-13-2005 09:08 PM
difference between SSH and SCP palanisaravanan Linux - Security 8 12-28-2003 11:07 PM


All times are GMT -5. The time now is 09:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration