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.