# Use Folders

In OORT Storage, buckets and objects are the primary resources, and objects are stored in buckets. OORT Storage has a flat structure instead of a hierarchy like you would see in a file system. However, for the sake of organizational simplicity, the OORT Storage console supports the *folder* concept as a means of grouping objects. It does this by using a shared name prefix for objects (that is, objects have names that begin with a common string). Object names are also referred to as *key names*.

For example, you can create a folder on the console named `photos` and store an object named `myphoto.jpg` in it. The object is then stored with the key name `photos/myphoto.jpg`, where `photos/` is the prefix.

<details>

<summary>Here are two examples</summary>

* If you have three objects in your bucket—`logs/date1.txt`, `logs/date2.txt`, and `logs/date3.txt`—the console will show a folder named `logs`. If you open the folder in the console, you will see three objects: `date1.txt`, `date2.txt`, and `date3.txt`.
* If you have an object named `photos/2017/example.jpg`, the console will show you a folder named `photos` containing the folder `2017`. The folder `2017` will contain the object `example.jpg`.

</details>

You can have folders within folders, but not buckets within buckets. You can upload objects directly into a folder. Folders can be created, deleted, and made public, but they cannot be renamed. Objects can be copied from one folder to another.

## Create a folder <a href="#create-folder" id="create-folder"></a>

-> Sign in to the [OORT Console](https://console.oortech.com).

-> In the **`Buckets`** list, choose the name of the bucket that you want to create a folder in.

-> Click **`Create folder`**.

-> Enter a name for the folder (for example, `favorite-pics`). Then click **`Create folder`**.

## Delete a folder <a href="#delete-folders" id="delete-folders"></a>

-> Sign in to the [OORT Console](https://console.oortech.com).

-> In the **`Buckets`** list, choose the bucket that you want to delete folders from.

-> In the **`Objects`**&#x6C;ist, select the check box next to the folders and objects that you want to delete.

-> Click **`Delete`**.

-> On the **`Delete objects`** page, verify that the names of the folders you selected for deletion are listed.

-> In the **`Delete objects`** box, enter `delete`, and click **`Delete objects`**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oortech.com/oort/oort-storage/manage-storage/work-with-objects/use-folders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
