mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
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>
This commit is contained in:
co-authored by
Mark Cunningham
Copilot Autofix powered by AI
Ivan Baluta
parent
1ca220b79c
commit
5cfb49cef2
@@ -0,0 +1,17 @@
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user