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 ID|VM_name --shf-host-add name --path path
[--mode ro|rw]
[--shf-description txt]
[--enable|--disable]
prlctl set ID|VM_name --shf-host-set name [--mode ro|rw]
[--path path]
[--shf-description txt]
[--enable|--disable]
prlctl set ID|VM_name --shf-host on|off
prlctl set ID|VM_name --shf-host-del name
prlctl set ID|VM_name --shf-guest on|off
prlctl set ID|VM_name --shf-guest-automount on|off
Parameters
Name
|
Description
|
ID
|
The virtual machine ID.
|
VM_name
|
The virtual machine name.
|
--shf-host-add
|
Shares the specified folder on the host computer with the virtual machine.
|
--shf-host-set
|
Modifies the settings of an existing shared folder.
|
--shf-host on|off
|
Turns the host folder sharing on or off.
|
--shf-host-del
|
Removes the specified shared folder from the shared folder list.
|
--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 computer.
|
name
|
User-defined shared folder name.
|
--path
|
Name and path of a folder on the host computer to share with the specified virtual machine.
|
--mode
|
Sharing mode:
ro -- read-onlyrw -- read and write
|
--shf-description
|
User-defined shared folder description.
|
--enable
|
Enable the shared folder.
|
--disable
|
Disable the shared folder.
|
Links
General Syntax
|