> For the complete documentation index, see [llms.txt](https://beaker-browser.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://beaker-browser.gitbook.io/docs/advanced/editing-file-metadata.md).

# Editing File Metadata

Files in Hyperdrive can have metadata values.

Metadata is stored as a UTF-8 string. Each value is identified by a key string. You can put as many metadata values as you like on a file, but avoid going *too* far or you'll slow down reads.

## In the editor

Visit the file you want to modify and [open the editor](/docs/beginner/using-the-editor.md). Then click on the "File Metadata" button on the toolbar.

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M4qSXK2Ym6Fr7P_-nCA%2F-M4qV4-Ckf8aQcdVr5AV%2Feditor-file-metadata.png?alt=media\&token=5bbf2d8c-cda6-4fad-88f2-451404e474ea)

A dropdown will appear with the metadata keys on the left and the values on the right. Use the empty inputs on the bottom to add a new value. You can modify existing values or remove them by simply deleting their values.

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M4qSXK2Ym6Fr7P_-nCA%2F-M4qVV1i30P5dng16oRX%2Feditor-file-metadata-dropdown.png?alt=media\&token=94e5df67-3db1-4f4f-b53c-bb838045a3ed)

When you are finished, click "Save" to write the changes.

## In the terminal

Visit your hyperdrive and open the terminal by clicking "Terminal."

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M60eqlJB0AjcqUAV910%2F-M41Vmi8Bvvvh28PJTj4%2Fopen-terminal.png?alt=media\&token=3c407c6f-cb03-4077-a12c-7c81cf39da70)

Get all metadata values for a file by entering `meta {filename}`

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M4qSXK2Ym6Fr7P_-nCA%2F-M4qVyxXDpnHQ0C8IBRj%2Fterminal-all-meta.png?alt=media\&token=648d5492-ba8c-47f9-93c5-72e74788a791)

Get a single metadata value for a file by entering `meta {filename} {key}`

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M4qSXK2Ym6Fr7P_-nCA%2F-M4qWBKbfvy2JqMMLOgP%2Fterminal-one-meta.png?alt=media\&token=cfab33aa-cfeb-491b-8162-27a34faea3c5)

Change a single metadata value by entering `meta {filename} {key} {value}`

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M4qSXK2Ym6Fr7P_-nCA%2F-M4qWPrywhZ88iYn0rZ9%2Fterminal-set-meta.png?alt=media\&token=b7c1afb0-55ff-43fc-9232-3045715c926b)

If your value has spaces, wrap it in quotes.
