---
sidebar_position: 15
---

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

# `lium scp`

Copy files to pods.

```bash
lium scp POD LOCAL_FILE [REMOTE_PATH] [OPTIONS]
```

## Arguments

- `POD` — Pod name, index, comma-separated list, or `all`.
- `LOCAL_FILE` — Local file to copy.
- `REMOTE_PATH` — Destination path on the pod (default: `/root/`).

## Options

| Flag | Effect |
|------|--------|
| `--recursive, -r` | Copy directories recursively |
| `--preserve, -p` | Preserve file attributes |

## Examples

```bash
lium scp my-pod ./script.py                    # → /root/script.py
lium scp 1 ./data.csv /root/datasets/          # Specific destination
lium scp all ./config.json                     # Every running pod
lium scp 1,2,3 ./model.py /root/models/        # Multiple pods
lium scp my-pod ./folder -r                    # Recursive copy
```

## See also

- [`lium rsync`](./rsync) — for repeated syncs and large directories
