Deleting a huge tree of mostly empty folders

Hello.
I have a huge tree of mostly empty folders on a google drive that needs to be deleted as fast as possible without removing subfolders that still contain files.
Is there any chance that using 'rclone rmdirs' with '--fast-list' and '--drive-fast-list-bug-fix=false' may result in rclone deleting sufolders that contain files?

Hi,

If I were you I would create a small directory tree with maybe three or four empty directories and a couple of directories with files in them so you don't start by using your production folders.

You can add the flag --dry-run
This will show you what it is going to do without actually doing it.

rclone rmdirs remote:path --leave-root