Displaying 1 result from an estimated 1 matches for "file91".
Did you mean:
file1
2011 Jul 01
1
keep 2 dirs in sync
...lete hostb:docs/ docs # sync0
rsync -au --delete docs/ hostb:docs # sync1
which takes care of modified files on either host - last mod wins. That works.
Problem is adding, deleting and renaming files. I'm sure most know the problem
here but I'll illustrate it to be clear;
If I add a new file91 on hostb then the nightly script copies file91 from hostb
to hosta and I'm happy.
But if I add a new file92 on hosta then the sync0 deletes file92 from hosta. Not
happy.
Then there is a corresponding opposite problem with deleting (and renaming)
files. If I intentionally delete a file92 on...