Manage folders (prefixes)
Object storage has a flat structure in which technically the folder entity does not exist, but simulated folders can be created and viewed in the control panel and GUI utilities for ease of working with the storage.
The folder name is a prefix in the object name. If the object is in several subfolders, all folders make up the prefix. The prefix is included in the object name when working with the storage via console utilities and APIs. When renaming a folder, each object in it is actually renamed.
For example, a folder is created in the container Folder1
in which there is a folder Folder2
. Subject Object.txt
is in the folder Folder2
. The full name of the object is. Folder1/Folder2/Object.txt
it should be specified when accessing via API and console clients. In the object name Folder1/Folder2/
— prefix.
All objects in the folder inherit the properties of the container.
You can copy, move and delete a folder.
Create a folder
- В control panels go to Object Storage → Containers.
- Open the container page → tab Objects.
- Click Create a folder
- Enter the name of the folder.
- Click Create.
Move the folder
- В control panels go to Object Storage → Containers.
- Open the container page → tab Objects.
- On the menu. folders, select Relocate.
- Open the folder to which you want to move the folder.
- Click Paste to current folder.
Copy folder
- В control panels go to Object Storage → Containers.
- Open the container page → tab Objects.
- On the menu. folders, select Copy.
- Open the folder to which you want to copy the folder.
- Click Paste to current folder.
Delete folder
- В control panels go to Object Storage → Containers.
- Open the container page → tab Objects.
- On the menu. folders, select Delete folder.
- Enter a name for the folder and click Delete.