File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
src/content/docs/r2/objects Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title: View objects
3+ pcx_content_type: how-to
4+ sidebar:
5+ order: 10
6+ ---
7+
8+ import { FileTree, Tabs, TabItem, Steps } from "~/components"
9+
10+ You can view your objects in a R2 bucket in multiple ways.
11+
12+ - Through the [Cloudflare dashboard](https://dash.cloudflare.com/login).
13+ - Through the [`wrangler list` command](/workers/wrangler/commands/#r2-bucket-list).
14+ - If using [`rclone`](https://rclone.org/install/), through the `rclone ls` command.
15+
16+ ## View prefixes as directories
17+
18+ In the Cloudflare dashboard, you can choose to view object with `/` in the name as folders by selecting **View prefixes as directories**.
19+
20+ For example, an object named `example/object` will be displayed as below.
21+
22+ <FileTree>
23+ - example
24+ - object
25+ </FileTree>
26+
27+ Object names which end with `/` will cause the dashboard to render the object as a folder with an unnamed object inside.
28+
29+ For example, uploading an object named `example/` will be displayed as below.
30+
31+ <FileTree>
32+ - example
33+ - `This object is unnamed`
34+ </FileTree>
You can’t perform that action at this time.
0 commit comments