Can I Query the Number and Size of Files in a Folder?
OBS Browser+ does not support this function. You can run the obsutil command of listing objects. In this command, specify the prefix to the name of the folder to be queried. For details, see Listing Objects in the obsutil guide.
./obsutil ls obs://bucket-test/test/ -du -limit=0 Start at 2023-03-16 06:40:18.2773873 +0000 UTC Listing objects . Remove the -du parameter to view more information [DU] Total prefix [test/] size: 990.85MB
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.