By mistake I saved a huge number of files at the root of my google drive (>100k files). I cant delete them online easily.
I'm currently trying to delete them by using the file list api and the file delete api, it works but it is really slow.
Also I didn't find a way to count how many files remains at the root to estimate how much time this will take.
Does anyone have a faster way to delete the files, or a way to count them ?