How can I tell how many objects I've stored in an S3 bucket?

后端 未结 29 3675
逝去的感伤
逝去的感伤 2020-12-02 04:45

Unless I\'m missing something, it seems that none of the APIs I\'ve looked at will tell you how many objects are in an /. Is ther

29条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 05:31

    In s3cmd, simply run the following command (on a Ubuntu system):

    s3cmd ls -r s3://mybucket | wc -l
    

提交回复
热议问题