Menu
Amazon Simple Storage Service
Console User Guide (API Version 2006-03-01)

Searching for Objects by Prefix

Important

This is the User Guide for the old Amazon S3 console. If you are looking for the User Guide for the new Amazon S3 console, see Welcome to the New Amazon S3 Console User Guide.  

This section explains how to use the AWS Management Console to search within a bucket or folder for objects with the same object key name prefix. For information on naming objects, go to Object Keys in the Amazon Simple Storage Service Developer Guide.

When using search by prefix the search string is case sensitive and must not contain the forward slash "/" character. Searches are scoped to objects at the root level of the bucket or to objects within a folder, not including the subfolders. For information about how Amazon S3 uses the forward slash "/" character, see Working with Folders.

To search for objects by prefix within a bucket

  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.

  2. In the Buckets list, choose the name of bucket that you want to search.

  3. Enter the prefix you want to search for in the Search by prefix box and then press Enter or choose .

  4. In the following example we type s3 in the Search by prefix box and then press Enter. The names of the objects and folders with the prefix s3 that are stored at the root level of the bucket are listed.

  5. Choose to clear the search or use the bucket breadcrumb trail to return to the previous list view. To clear your search, you can also empty the search box and then press Enter or choose .

To search for objects by prefix within a folder

  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.

  2. In the Buckets list, choose the name of bucket that contains the folder you want to search.

  3. Choose the name of the folder that you want to search.

  4. Enter the prefix you want to search for in the Search by prefix box and then press Enter or choose .

  5. In the following example we choose the archive-pdfs folder and type glacier in the Search by prefix box and then press Enter. The names of the objects and folders with the prefix glacier that are stored in the folder are listed.

  6. Choose to clear the search or use the bucket breadcrumb trail to return to the previous list view. To clear your search, you can also empty the search box and then press Enter or choose .