# si cp

Copy a file or tree between this computer and an SVM

Source: https://slashinfra.com/docs/cli/cp
Last modified: 2026-11-30T16:36:19.000Z

Copy a file or tree between this computer and an SVM

## Usage

```bash
si cp [OPTIONS] <SOURCE> <DESTINATION>
```

## Arguments

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `source`required | `SOURCE` | The local path, - for standard input, or <svm>:<path> |  |  |
| `destination`required | `DESTINATION` | The local path, - for standard output, or <svm>:<path> |  |  |

## Flags

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--recursive` |  | Copy a directory tree instead of one file | false |  |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |
