← 返回命令列表

Linux command

vboxmanage-movevm 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Move a VM to a new folder

VBoxManage movevm [vmname] --type basic --folder [/path/to/new/location]

Move a VM identified by UUID

VBoxManage movevm [uuid] --type basic --folder [/path/to/new/location]

说明

VBoxManage movevm moves a virtual machine to a new location on the host. All associated files of the VM, including settings files and disk image files, are moved to the new location. The Oracle VM VirtualBox configuration is updated automatically. The VM can be identified by name or UUID. VM names containing spaces must be enclosed in double quotation marks.

参数

--type basic
Specifies the type of move operation. Currently only "basic" is supported.
--folder _path_
Destination folder on the host file system. Can be a relative or absolute path.

FAQ

What is the vboxmanage-movevm command used for?

VBoxManage movevm moves a virtual machine to a new location on the host. All associated files of the VM, including settings files and disk image files, are moved to the new location. The Oracle VM VirtualBox configuration is updated automatically. The VM can be identified by name or UUID. VM names containing spaces must be enclosed in double quotation marks.

How do I run a basic vboxmanage-movevm example?

Run `VBoxManage movevm [vmname] --type basic --folder [/path/to/new/location]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --type basic do in vboxmanage-movevm?

Specifies the type of move operation. Currently only "basic" is supported.