# ed machines files get-many

> Downloads several files from one machine into a local directory.

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

Downloads several files from one machine into a local directory.

```
ed machines files get-many <machine> <paths>... [--to <directory>] [--dry-run] [--replace] [--yes] [--json]
```

The destination defaults to the working directory. Existing names are kept by
adding a number, so `report.txt` becomes `report 2.txt`. The destination
directory must already exist. Duplicate names in one request are numbered in
input order.

```
ed machines files get-many devbox /etc/hosts /etc/services --to ~/Desktop
ed machines files get-many devbox /srv/a.txt /srv/b.txt --to ./out --dry-run
```

`--dry-run` resolves every destination and moves no bytes. `--replace` shows
which existing files would be replaced, but it still does nothing until
`--yes` is also present. JSON always reports `items`, `skipped`, `executed`,
`dryRun` and `requiresConfirmation`. An executed response adds `completed` and
`failures`. Every failure includes both its source and resolved destination, so
duplicate input names remain unambiguous.

Each source must be a file. A failure for one item does not stop later items,
and the command exits 1 after reporting every failure.

## Where to go next

- [`ed machines files transfer`](https://getedith.pro/docs/cli/machines-files/transfer), copy files between machines
- [`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
