Get size of folder in Firebase Storage

659 views
Skip to first unread message

Nikhil Bhalwankar

unread,
Apr 8, 2019, 10:48:17 AM4/8/19
to Firebase Google Group
Hi,

I have created userId wise folders in firebase storage which has uploaded images. How can I get the total size of that folder? Documentation has reference to get size of only single file but not the folder as a whole.

Samuel Stern

unread,
Apr 8, 2019, 10:52:29 AM4/8/19
to Firebase Google Group
Hi Nikhil,

There's no simple way to do this using the Firebase SDK, but you can do it using the gsutil command line tool's "du" command:

- Sam

On Mon, Apr 8, 2019 at 10:48 AM Nikhil Bhalwankar <bhalwank...@gmail.com> wrote:
Hi,

I have created userId wise folders in firebase storage which has uploaded images. How can I get the total size of that folder? Documentation has reference to get size of only single file but not the folder as a whole.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/e5495a0f-50d8-4fa7-b4a6-7267ee2200c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages