Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 11-02-2008, 06:37 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 14

Rep: Reputation: 0
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.

Old 11-02-2008, 07:26 AM   #2
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, 08:31 AM   #3
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!




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

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-29-2008 12:41 AM
whats difference betwen this folders? xcore_on Linux - Newbie 5 04-29-2006 06:58 PM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 07:14 AM
useing SCP to copy entire directories with sub folders? Lleb_KCir Linux - General 5 09-13-2005 10:08 PM
difference between SSH and SCP palanisaravanan Linux - Security 8 12-29-2003 12:07 AM

All times are GMT -5. The time now is 02:53 AM.

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