I've read several threads on this issue, but the commands stated there didn't work for me still.
I'm trying to rsync files from folder1 (containing sub-folder a ) to folder2 (containing a and b ) without having the folder b deleted. Yet the following command deletes it:
rsync -av --exclude folder2/b/ --delete folder1/ folder2/
Other variations like absolute paths or slashes, no slashes didn't work either. And that eventhough it should be basically the same command (except for the folder-names) as in this thread.
Anyone got an idea?