> ## Documentation Index
> Fetch the complete documentation index at: https://mkbrr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# check

> Verify the integrity of content against a torrent file.

## Usage

```bash theme={null}
  mkbrr check <torrent-file> <content-path> [flags]
```

## Arguments

* `<torrent-file>`: Path to the `.torrent` file. (Required)
* `<content-path>`: Path to the directory or file containing the data to check. (Required)

## Flags

<ParamField query="--verbose, -v" type="boolean" default={false}>
  Be verbose.

  <Info>
    When enabled, shows detailed information about the verification process including any bad piece indices.
  </Info>
</ParamField>

<ParamField query="--quiet, -q" type="boolean" default={false}>
  Enable quiet mode, printing only the completion percentage. Useful for scripts.
</ParamField>

<Info>
  Useful for automated scripts or when you only need the verification status.
</Info>

<ParamField query="--workers" type="number">
  Manually specify the number of concurrent goroutines used for hashing.

  <Tip>
    Experimenting with different worker values *might* yield better performance than the default automatic setting.
  </Tip>
</ParamField>

## Examples

### Basic Check

Verify the content in `my_download_folder` against `my_torrent.torrent`:

<Terminal text="mkbrr check my_torrent.torrent my_download_folder" />

### Verbose Check

Verify content and show indices of any bad pieces:

<Terminal text="mkbrr check -v my_torrent.torrent /path/to/data" />

### Quiet Check

<Terminal text="mkbrr check --quiet my_torrent.torrent /path/to/data" />
