Managing Shared Folders
The
pctl set
command can be used to add shared folders to a virtual machine and to modify and delete existing shared folders.
Syntax
pctl
set
ID
|
VM_name
--shf-host-add
name
--path
path
[
--mode
ro
|
rw
]
[
--shf-description
txt
]
[
--enable
|
--disable
]
pctl
set
ID
|
VM_name
--shf-host-set
name
[
--mode ro
|
rw
]
[
--path
path
]
[
--shf-description
txt
]
[
--enable
|
--disable
]
pctl set
ID
|VM_name --
shf-host
on
|
off
pctl set
ID
|
VM_name
--shf-host-del
name
pctl
set
ID
|
VM_name
--shf-guest on
|
off
pctl
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 Parallels server 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 Parallels server.
|
name
|
User-defined shared folder name.
|
--path
|
Name and path of a folder on the Parallels server to share with the specified virtual machine.
|
--mode
|
Sharing mode:
-
ro
-- read-only.
-
rw
-- read and write.
|
--shf-description
|
User-defined shared folder description.
|
--enable
|
Enable the shared folder.
|
--disable
|
Disable the shared folder.
|
Links
General Syntax
,
Legend
|