Files
tldr/pages/common/multipass-transfer.md
Mark Cunningham 5cfb49cef2 multipass-transfer: add page (#23234)
Signed-off-by: Mark Cunningham <markcunninghamgit@users.noreply.github.com>
Co-authored-by: Mark Cunningham <markcunninghamgit@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
2026-08-23 16:10:56 +03:00

721 B

multipass transfer

Transfer files between the host and the virtual machine. Note: Relative paths on an instance start from the user's home directory. More information: https://canonical.com/multipass/docs/latest/reference/command-line-interface/transfer/.

  • Transfer a file from the host to an instance:

multipass transfer {{path/to/local_file}} {{instance_name}}:{{path/to/remote_directory}}

  • Transfer a file from an instance to the host:

multipass transfer {{instance_name}}:{{path/to/remote_file}} {{path/to/local_directory}}

  • Transfer a directory from the host to an instance:

multipass transfer {{[-r|--recursive]}} {{path/to/local_directory}} {{instance_name}}:{{path/to/remote_directory}}