Delete empty folders?

Hello friendly forum.

Node1 ignore pattern:

-

Node2 ignore pattern: -

!(?d)OCIMG*.jpg
/

Node1\syncedfoldername\subfolder\OCIMG1.jpg

is correctly synced to:

Node2\syncedfoldername\subfolder\OCIMG1.jpg

If Node1\syncedfoldername\ subfolder \ is deleted, OCIMG1.jpg on Node2 will be deleted, but Node2\syncedfoldername\subfolder\ remains.

How can I also delete the now empty subfolder on Node2 automatically?

What if you change your patterns to

!OCIMG*.jpg
(?d)*

Combining (?d) with negated patterns doesn’t actually do anything.