Managing Shared Folders
The prlctl set command can be used to add shared folders to a virtual machine and to modify and delete existing shared folders.
Syntax
prlctl set <vm_ID |vm_name> {--shf-host-add <folder> | --shf-host-set <folder> }
--path <path>
[--mode <ro|rw>] [--shf-description <desc> ] [--enable|--disable]
prlctl set <vm_ID|vm_name> --shf-host <on|off>
prlctl set <vm_ID|vm_name> --shf-host-del <folder>
prlctl set <vm_ID|vm_name> --shf-guest <on|off>
prlctl set <vm_ID|vm_name> --shf-guest-automount <on|off>
Options
Name
|
Description
|
<vm_ID|vm_name>
|
The virtual machine ID or name.
|
--shf-host-add <folder>
|
Shares the specified folder on the host with the virtual machine.
|
--shf-host-set <folder>
|
Modifies the settings of an existing shared folder.
|
--shf-host-del <folder>
|
Removes the specified shared folder from the shared folder list.
|
--shf-host <on| off>
|
Turns the host folder sharing on or off.
|
--shf-guest <on| off>
|
Turns the guest folder sharing on or off.
|
--shf-guest-automount <on| off>
|
Mounts or unmounts virtual disks on the host.
|
--path <path>
|
Name and path of a folder on the host to share with the specified virtual machine.
|
--mode <ro| rw>
|
Sharing mode:
ro — read-only.rw — read and write.
|
--shf-description <desc>
|
User-defined shared folder description.
Descriptions with white spaces must be enclosed in quotation marks.
|
--enable| --disable
|
Enable or disable the shared folder.
|
|