# ed machines files transfer

> Copies several files from one configured machine to another.

- Canonical URL: https://getedith.pro/docs/cli/machines-files/transfer
- Updated: 2026-12-02

Copies several files from one configured machine to another.

```
ed machines files transfer <source> <destination> <paths>... --into <directory> [--dry-run] [--replace] [--yes] [--json]
```

Both connections are opened concurrently. Files are staged on this Mac, then
uploaded to a temporary destination name and moved into place. Input order is
preserved in plans, progress, JSON and failure reporting.

```
ed machines files transfer devbox server /srv/a.txt /srv/b.txt --into /archive
ed machines files transfer devbox server /srv/report.txt --into /archive --dry-run
```

Existing names use keep-both numbering by default. `--replace` previews
replacement and requires `--yes` before any transfer begins. `--dry-run` lists
the exact resolved targets without moving bytes. Source and destination must be
different machines.

Each source must be a file. A failed item does not stop later items, and any
failure makes the final exit status 1. Each structured failure repeats the
resolved destination from the plan.

## Where to go next

- [`ed machines files get-many`](https://getedith.pro/docs/cli/machines-files/get-many), download a selection to this Mac
- [`ed machines files`](https://getedith.pro/docs/cli/machines-files), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
