This topic describes how to search for objects whose names contain a shared prefix in a bucket or folder through the OSS console.

Prerequisites

  • A bucket has been created. For more information, see Create a bucket.
  • Objects have been uploaded to the bucket. For more information, see Upload objects.

Background information

When you search for objects based on a prefix, search strings are case-sensitive and cannot contain forward slashes (/). The search range is limited to the root directory of the current bucket or to the objects in the current folder. Subfolders and their objects are included in the search results. For more information, see View the object list.

Procedure

  1. Log on to the OSS console.
  2. Click the target bucket.
    • New console: Click Buckets, and then click the name of the target bucket.
    • Old console: In the left-side navigation pane, click the name of the target bucket.
  3. Click the Files tab.
  4. On the right side of the Files tab, enter a prefix in the search box and press Enter or click the icon to search for related objects.
    The system lists the names of the objects and folders that are stored in the current folder and match the prefix.
    Note To search for objects in a specified folder, open the folder and enter a prefix in the search box. The system lists the names of objects and subfolders in the folder that match the prefix.