I'm trying to use rsync to keep to folders in sync. Let's call them SRC and DST. When I delete a file in SRC and I run my rsync command, I want the corresponding file in to be deleted. When I delete a directory in SRC, I want all corresponding files to be deleted in DST but to keep the empty directory structure.
Is it possible ?