Make a new rclone command which will remove empty directories - based on http://pub.rclone.org/rclone-delete-empty-dirs.py3
As it stands this isn't very efficient as it makes a new remote for each directory deleting.
Examine whether to change the Rmdir/Mkdir calls to take a directory parameter.
Factored from #100
Add directory parameter to Rmdir and Mkdir #100 #831
This will enable rclone to manage directories properly in the future.
Make rclone rmdirs command to delete empty directories - fixes #831
Beta here: http://beta.rclone.org/v1.34-25-gf3365dd/
Beta is working great here! macOS X 64bit.
Edit: By which I mean the updated beta link posted in #100: http://beta.rclone.org/v1.34-36-g539853d/