Skip to content

Commit 25c298a

Browse files
authored
Merge branch 'master' into improve-objectstorage-cli-docs
2 parents c6d7d9d + 0edebf6 commit 25c298a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/hypernode-platform/object-storage/managing-objects.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,6 @@ app@abcdef-example-magweb-cmbl:~$ hypernode-object-storage objects ls s3://main/
9898
app@abcdef-example-magweb-cmbl:~$ hypernode-object-storage objects ls s3://main/media/
9999
```
100100

101-
### Filtering and Sorting
102-
103-
```console
104-
# List only files
105-
app@abcdef-example-magweb-cmbl:~$ hypernode-object-storage objects ls s3://main/ --recursive
106-
107-
# List with details
108-
app@abcdef-example-magweb-cmbl:~$ hypernode-object-storage objects ls s3://main/ --long
109-
```
110-
111101
### Output Formatting
112102

113103
```console
@@ -165,6 +155,16 @@ app@abcdef-example-magweb-cmbl:~$ hypernode-object-storage objects rm s3://main/
165155
app@abcdef-example-magweb-cmbl:~$ hypernode-object-storage objects rm s3://main/dir/ --recursive
166156
```
167157

158+
## Empty up an Object Storage
159+
160+
To remove all objects from an Object Storage, use the `rm` subcommand with the `--recursive` flag. This will delete every object within the specified Object Storage. For example:
161+
162+
```console
163+
app@abcdef-example-magweb-cmbl:~$ hypernode-object-storage objects rm s3://main --recursive
164+
delete: s3://main/file1.txt
165+
delete: s3://main/file2.txt
166+
```
167+
168168
### Troubleshooting
169169

170170
If the process is not found:

0 commit comments

Comments
 (0)