---
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 between your machine and pods. Upload is the default; add `--download` to pull files back.

```bash
lium scp TARGETS SOURCE_PATH [DESTINATION_PATH] [OPTIONS]
```

## Arguments

- `TARGETS` — Pod name, index, comma-separated list, or `all`.
- `SOURCE_PATH` — On upload, a local file. On download (`-d`), a remote path.
- `DESTINATION_PATH` — Optional. On upload, the remote path (default: `/root/<filename>`). On download, the local path.

## Options

| Flag | Effect |
|------|--------|
| `--download, -d` | Download from the pod to your local machine (the default direction is upload) |

## Examples

```bash
lium scp my-pod ./script.py                    # Upload → /root/script.py
lium scp 1 ./data.csv /root/datasets/          # Upload to a specific dir
lium scp all ./config.json                     # Every running pod
lium scp 1,2,3 ./model.py /root/models/        # Multiple pods
lium scp 2 /root/output.log ./outputs -d       # Download from pod #2
```

## See also

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