Expand description
Copy and move between this computer and an SSH host, or within one host
(spec §6.3 of SPEC_REMOTE_TERMINALS_AND_DURABLE_SESSIONS_2026_10_02.md):
the same fs.op as a local copy, with the same progress, cancel and
conflict questions (jobs::Jobs::start_host), the host’s side carried by
its helper (remote::files).
- A file goes to a temp file beside its destination, in pieces (ranged reads, appends), and is renamed into place only when complete, never over anything the user didn’t choose to replace.
- A folder onto a folder merges; anything else already there is asked about (replace, skip, keep both).
- Links aren’t copied between two machines: where one points means something only on its own side.
- A move removes each source only once it landed; within one host it is a rename on that host.
- Nothing in a protected place is changed: this computer’s rules
(
ProtectedPaths), a host’s system folders, root and home folder (remote::protected).
Enums§
- End
- One side of a transfer.
Functions§
- start
- Start a copy or move of
sources(onsrc) intodest_dir(ondest) as anfs.op(emitcarries its events). At least one side is a host.