Skip to main content
Version: Next

reduct-cli rm

Remove data from a bucket

Arguments

Options

  • -b, --start <start>: Remove records with timestamps older than this time point as Unix microseconds, RFC3339, local date/datetime, or relative time (e.g. now - 1h). If not specified, the export will start from the first record in an entry.
  • -i, --ignore-ssl: Ignore SSL certificate verification
  • --ca-cert <PATH>: Path to a custom CA certificate bundle/file
  • -e, --stop <stop>: Remove records with timestamps newer than this time point as Unix microseconds, RFC3339, local date/datetime, or relative time (e.g. now - 1h). Defaults to now.
  • -n, --entries [<ENTRY_NAME>...]: List of entries to export. If not specified, all entries will be requested. Prefix wildcards are supported (e.g. entry-*).
  • -T, --timeout <SECONDS>: Timeout for requests
  • -N, --each-n <NUMBER>: (DEPRECATED) Export every nth record. If not specified, all records will be requested.
  • -p, --parallel <COUNT>: Number of parallel requests
  • -j, --json: Print output in JSON format
  • -S, --each-s <NUMBER>: (DEPRECATED) Export a record every n seconds. If not specified, all records will be requested.
  • -w, --when <CONDITION>: Filter records by a JSON condition. If not specified, all records will be requested.
  • -s, --strict: If set, when will fail if the condition is not met.
  • -t, --time [<TIMESTAMP>...]: Remove a record with a certain timestamp as Unix microseconds, RFC3339, local date/datetime, or relative time (e.g. now - 1h).
  • -h, --help: Print help

Help Output

Remove data from a bucket

Usage: reduct-cli rm [OPTIONS] <BUCKET_PATH>

Arguments:
<BUCKET_PATH> Alias or URL (e.g. http://token@localhost:8383) of the ReductStore instance to use

Options:
-b, --start <start> Remove records with timestamps older than this time point as Unix microseconds, RFC3339, local date/datetime, or relative time (e.g. now - 1h).
If not specified, the export will start from the first record in an entry.
-i, --ignore-ssl Ignore SSL certificate verification
--ca-cert <PATH> Path to a custom CA certificate bundle/file
-e, --stop <stop> Remove records with timestamps newer than this time point as Unix microseconds, RFC3339, local date/datetime, or relative time (e.g. now - 1h). Defaults to now.
-n, --entries [<ENTRY_NAME>...] List of entries to export.
If not specified, all entries will be requested. Prefix wildcards are supported (e.g. entry-*).
-T, --timeout <SECONDS> Timeout for requests
-N, --each-n <NUMBER> (DEPRECATED) Export every nth record.
If not specified, all records will be requested.
-p, --parallel <COUNT> Number of parallel requests
-j, --json Print output in JSON format
-S, --each-s <NUMBER> (DEPRECATED) Export a record every n seconds.
If not specified, all records will be requested.
-w, --when <CONDITION> Filter records by a JSON condition.
If not specified, all records will be requested.
-s, --strict If set, `when` will fail if the condition is not met.
-t, --time [<TIMESTAMP>...] Remove a record with a certain timestamp as Unix microseconds, RFC3339, local date/datetime, or relative time (e.g. now - 1h).
-h, --help Print help