1

Is there a way through the Google Drive API to list all the files in a specific folder and its sub folders with out traversing the folder tree and making requests for each folder?

The File:list and Children methods of the REST API only appear to return the files of a specific folder as far as I can tell. Essentially I want the do equivalent of dir /s in windows.

Eric Anastas
  • 21,675
  • 38
  • 142
  • 236
  • 1
    Unfortunately, in the current stage, there are no APIs for retrieving all files including all sub folders in a specific folder. So it is required to do it at the script side. I think that this thread is helpful for you. https://stackoverflow.com/q/41741520 – Tanaike Oct 22 '18 at 21:55

0 Answers0