From 7bfa03570c9ad7967ff33060330248210555ab36 Mon Sep 17 00:00:00 2001 From: Martin Mattel Date: Tue, 3 Dec 2024 10:25:50 +0100 Subject: [PATCH 1/2] [docs-only] Add 'ocis shares cleanup' command to the common readme --- ocis/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ocis/README.md b/ocis/README.md index 5836144bd2..5a241cd630 100644 --- a/ocis/README.md +++ b/ocis/README.md @@ -59,6 +59,14 @@ Allows specifying the blobstore to use. Defaults to `ocis`. Empty blobs will not * `--fail`\ Exits with non-zero exit code if inconsistencies are found. Useful for automation. +### Cleanup Orphaned Shares + +When a shared space or directory got deleted, use the `shares cleanup` command to remove those share orphans. This cant be done automatically at the moment. + +```bash +ocis shares cleanup +``` + ### Revisions CLI The revisions command allows removing the revisions of files in the storage. From 3d03c3e06cfa4a128477e097b9a30bb0050b7491 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 3 Dec 2024 10:50:28 +0100 Subject: [PATCH 2/2] Update ocis/README.md Co-authored-by: Andre Duffeck --- ocis/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocis/README.md b/ocis/README.md index 5a241cd630..d801bc62d8 100644 --- a/ocis/README.md +++ b/ocis/README.md @@ -61,7 +61,7 @@ Exits with non-zero exit code if inconsistencies are found. Useful for automatio ### Cleanup Orphaned Shares -When a shared space or directory got deleted, use the `shares cleanup` command to remove those share orphans. This cant be done automatically at the moment. +When a shared space or directory got deleted, use the `shares cleanup` command to remove those share orphans. This can't be done automatically at the moment. ```bash ocis shares cleanup