download free 30 days trial version buy bucket explorer
Documentation  Download  Purchase  Support  FAQs   Forum   ScreenShots & Demos

How to update user metadata or custom headers on Amazon S3 files?

Each File and folder, stored on Amazon S3 has a set of key value pairs these are called metadata or headers . Metadata provides some basic and important details about the file. There are two type of metadata for files on S3.

1. System metadata : System metadata is used and processed by Amazon S3.
2. User metadata : User metadata or custom header are specified by you, Amazon S3 simply stores it and passes it back when you ask for it.

You can also change the Storage-Class for an object while updating metadata.
Note : Metadata size is limited to 2k bytes for the total length of all values and keys.

In Bucket Explorer, you can find more options through which you can update user metadata or custom headers:
  1. Right click on selected S3 file in object panel and choose Update Metadata option.
  2. Right click on selected S3 file in object panel and choose Properties -- > Update Metadata option.
  3. Select a S3 file, click on Properties icon on object tool bar and then select Update metadata from properties window.
  4. Right click on selected file on local file panel and choose Upload with custom header .
    Note : This process is used to Upload Files and Folders with custom headers or Metadata. You can add or remove metadata here- How to upload files on Amazon S3 with custom header/ metadata using Bucket Explorer?
  5. You can set bucket default metadata and headers to add specific metadata on all newly uploaded files in specific bucket- How to set default Amazon S3 Metadata on bucket?

When you start updating metadata using any of the above options from 1 to 3, you can see a window of update Metadata which shows properties & their values if properties are present there.

List of Properties gets displayed on update Metadata window is:

Sr. No.
Properties
Sr. No. Properties
1 Object key 9 id-2
2 Date 10 request-id
3 Size 11 Version-ID [1]
4 Last Modified 12 bucketexplorer-md5
5 Etag 13 bucketexplorer-sha1
6 Owner Name 14 bucketexplorer-filelastmodifieddate [2]
7 Owner ID 15 md5-hash
8 Bucket 16 Storage-class

You can also see the list of user metadata attributes below the properties list, which can be updated using Add, Edit and Remove options as per your requirement.

How to Add New Meta Data :

  1. Click on Add button on Update metadata window.
  2. It displays Add Metadata box with key and value text box.
  3. Enter key and value .
  4. Click on OK button.
  5. It Closes Add Metadata box.
  6. Newly added metadata gets listed in Metadata attributes table.

How to Edit Existing Meta Data :

  1. Select existing user metadata and click on Edit button.
  2. It displays Edit Metadata box with key label and value text box.
  3. Enter new value. Here key can’t be edited.
  4. Click on OK button.
  5. It closes Edit Metadata box.
  6. Edited user metadata gets updated in Metadata attributes table.

How to Remove Existing Meta Data :

  1. Select existing user metadata and click on Remove button.
  2. Selected Metadata gets removed from the Metadata attributes list.

Set Storage-Class as RRS (Reduced Redundancy Storage) :

  • Enable the check box named Use reduced Redundancy Storage . It will set the Storage class to REDUCED_REDUNDANCY for that object.
  • To change the storage class to STANDARD , you need to disable the same check box.

On Update metadata window, click on Save button to save the changes of user Metadata and click on Cancel button to cancel the changes

NOTE: Bucket Explorer also provides a facility to update Amazon S3 Metadata in batch/ bulk. You can update Metadata of all objects in selected bucket or can also update Metadata for all selected objects at once.

See step by step tutorial: How to update Amazon S3 Metadata in batch/ bulk?
See Video demo: How to update Metadata on batch/ bulk of files on Amazon S3?

  1. ˆ Version-ID : It combines with key to uniquely identify the object in the Bucket.
  2. ˆ bucketexplorer-filelastmodifieddate : This shows the date on which the file was last modified at local system.

Related Topics:


 

Give us your feedback