On Thu October 25 2007 06:42, Carlos F Lange wrote:
But if i use the rsync command without the --delete parameter it won't delete any files at all on the receiving side, right? And if I have an extra one in either receiving or sending side, it'll add it, right?
Your synchronization is always one way, never back and forth at once. Without --delete, rsync will notice that there is an extra file at the destination, which would normally mean you deleted the corresponding file in the source, but rsync will not synchronize this deletion. rsync cannot know that in my case the destination side is not a pure backup site and that it can also generate new content. I have to run "rsync office home", which is "syncget" in this case, for rsync to bring the new file to my home machine.
Hi, again, I just heard the episode on audio tools from Linux Reality podcast and at the end Chess gives a hint that might just help both of us. He mentioned "unison", which is supposedly a tool for two-way configuration. It is available in 10.3 and I just installed it. I will have to explore it more, but it looks like exactly what we want: "Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other." (from their website) -- Carlos FL Who is General Failure, and why is he reading my disk? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org