You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

jdbenjamin's avatar
jdbenjamin
New member | Level 2
7 years ago

All file names and meta data

Does anyone know how I can get a list of every single file I have in my dropbox and it's respective metadata for each file, e.g. file size, file type etc? Managed to get the list of the top directory with the folder names and the files there, but I'm looking for a list of every individual file in it.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    To list every file and folder, you can use the "recursive" option for list_folder. E.g., with the Python SDK, call files_list_folder with path="" and recursive=True. Make sure you also keep calling back to files_list_folder_continue if/as necessary, as indicates by the has_more value in the result.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 23 hours ago
326 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!