Rclone sync not deleting destination directories?

Sorry if I am being thick here but I a bit confused about the behavior of sync in regards to deleting destination directories.

I am renaming a ton of directories on source and I know that when I run sync again those dirs will be copied as new content, but it is not deleting the old dirs on the destination, leaving me with both versions of the dirs. The command I am using is very straightforward. What am I missing in how this is or isn’t working? Thanks so much Nick!

“/usr/sbin/rclone sync $FROM/ $TO/ -v --stats=15s --transfers=35 --log-file=$LOGFILE”

directories do not get deleted. It is an old issue. Simply run this to clean up empty ones and then you can rerun your sync.

rclone rmdirs $TO