rsync v. unison


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers rsync v. unison
# 1  
Old 07-12-2006
rsync v. unison

I was reading the man page for rsync expecting it to talk about synchronization. It says it is like a rcp. I was expecting it to have something to do with synchronization.

I was expecting rsync to only copy those files that are newer and it does not look like this is what it was designed to do. I'm feeling confused. Why is it called rsync?

Is unison the program I want?

I've been reading the man page for unison too and I'm wondering why the cygwin installation program gave me the option to install multiple versions of unison instead of only the latest version. I see unision2.10.2, unision 2.12.0, unision 2.13 and unision 2.17. Do I care about the older versions?

How do I invoke the GUI interface for unison? I'm running cygwin on Win2K3 server. It says to double click on the icon but I cannot find the icon except thru windows explorer and that does not know about the cygwin dll. (hmmm... I think I'll post this question in the cygwin mailing list since it might be cygwin specific).

Thanks,
Siegfried
# 2  
Old 07-12-2006
I'm assuming you're on Linux/cygwin. rsync (samba.org) does in fact do differences on files and update only those files which show differences.

We run rsync from a simple script from cron to keep remote file servers up to date.
We're running it under cygwin on Windows boxes.
# 3  
Old 07-12-2006
How to decide: rsync v. unison

Oh dear... I wonder if there is something wrong with my cygwin man pages.

Well how do I decide which to use: cygwin or unison?

Thanks,
Siegfried
# 4  
Old 07-12-2006
You may have picked up an interesting variant of rsync... I don't know.

I don't know what to tell you.
# 5  
Old 07-12-2006
rsync update

OK. My fault. I finally found it by searching for synchonize. There is an example in my man page. It sure is brief.

Apparently the rsync program does not synchronize unless you use the update switch. Is it just me or is this counterintuitive? I would expect a program with a name like rsync to synchronize by default.

So what is the difference between using unison and rsync -u?

Thanks,
Siegfried
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rsync Error: rsync: link_stat failed: No such file or directory (2)

I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies

2. Shell Programming and Scripting

Need help on rsync

Hi experts, We need copy 5TB data from one server to another (over a 10Gbps link). We plan to use rsync -av remote:/<path /local on destination server but there're few special requirements like: 1. data copy process should run only from 18:00 Hrs to 07:00 every day until copy is completed. Is... (1 Reply)
Discussion started by: magnus29
1 Replies

3. Shell Programming and Scripting

rsync

hi there I wonder if some-one can help. I am trying to use rsync on my mac to transfer a folder to a remote machine. I have logged into rysnc on my mac no problem and I'm trying to execute this command: rsync -a -e ssh /Users/myname/myfolder/sourcefolder/... (3 Replies)
Discussion started by: volterony
3 Replies

4. Shell Programming and Scripting

using rsync

I'm just trying to use rsync to retreive the file from different servers with script. i want to look for a file, if the file exists, then retreive the file from different servers, and put it in one file. I have the following command. rsync -v -e ssh jerry@openbsd.nixcraft.in:~/webroot.txt /tmp ... (5 Replies)
Discussion started by: s_linux
5 Replies

5. UNIX for Dummies Questions & Answers

rsync

i last night i copied a 400GB folder using rsync and ssh i did: rsync -r /mnt/500_GB ssh miguel@192.168.1.3:/mnt/1500_GB and it copied the folder fine all 400GB. The question is: If i put more files to that initial 400GB folder, which command can i run on my server for it to update the... (4 Replies)
Discussion started by: supermiguel
4 Replies

6. UNIX for Dummies Questions & Answers

rsync vs cp

Hi guys, I will be copying data from one FS to another. (only once) These are local Filesystems... Which tool would be more efficient to use in this case? There is a huge amount of data that needs to be copied... (1.5TB) John (1 Reply)
Discussion started by: jsy
1 Replies

7. UNIX for Dummies Questions & Answers

Rsync, Unison or other?

My client is using perforce. Like CVS, perforce has the feature where you can create your own branch and check broken code into the branch with out breaking the main line build. When you finally get to a point that you are not going to break the build, you merge your branch with mainline. ... (2 Replies)
Discussion started by: siegfried
2 Replies

8. UNIX for Dummies Questions & Answers

rsync

I want to do rsync only for the difference in the last 30 days. How do I specify the "30 days" on the command line below? >rsync -avz prj# /rsource /destination Thanks for help (6 Replies)
Discussion started by: wz253
6 Replies
Login or Register to Ask a Question