• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. User Guide (S3cmd)
  4. Operation Guide
  5. Object Management
  6. Obtaining the Object List

Obtaining the Object List

You can view the information about an object in your bucket. The information includes the object's creation time, size, and storage path.

Procedure

  1. Open the command line tool.
  2. Run the following command to view the object list in a specific bucket:

    s3cmd ls s3://my-bucket

    NOTE:

    my-bucket is the name of the bucket whose object information you want to view.

Follow-up Procedure

Operations on S3cmd prevail globally. Thus, you can view all objects in all buckets. The operation method is as follows:

  1. Open the command line tool.
  2. Run the following method to list all objects in a bucket:

    s3cmd la