I want to use rsync to synchronize two directories in both directions.
I refer to synchronization in classical sense (not how it is
I was having the same question and end up using git. It might not fit your situation, but if anyone find this topic and have the same question, you may consider a version control system.
git