Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates documentation with sofar undocumented functionality (morgue delete --filter) #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,12 +413,15 @@ sum(process.age): 29630010305216 sec
Allows deleting objects.

```
Usage: morgue delete <[universe/]project> <oid1> [... oidN]
Usage: morgue delete <[universe/]project> [... object_ids]
Usage: morgue delete <[universe/]project> --filter=<filter expression>
```

Object IDs must be specified; they can be found in `morgue list` output.
The object ID printed in the example above is `9d33`.

If a `--filter` expression is passed, that is used instead to select the items to be deleted. You can pass multiple `--filter` expressions to narrow the search. Object IDs are ignored in this format.

By default, this command (as of 2019-02-26) requests physical-only deletion,
which retains only indexing. The previous `--physical-only` argument is a
no-op. The following options affect this behavior:
Expand Down