The skeleton.exe utility is used to manage directory structure templates. Using this utility, you can perform the following tasks:

  • installing a template on a client account from a file
  • resetting a template on a client account to the Plesk default template

Location

%plesk_cli%

Usage

skeleton.exe <command> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
]

Example

The following command installs a virtual host template from the file D:\skeletons\siteskeleton (in the ZIP format) for the client with the login name JDoe:

plesk bin skeleton.exe --install JDoe -filename D:\skeletons\siteskeleton -force-type zip

Commands

Command Parameter Description Example
--install or -i <client login name>

Installs a virtual host template from a file for a client account.

Requires the -filename option.

To install a virtual host template from the file D:\skeletons\siteskeleton.zip for the client with the login name JDoe:

plesk bin skeleton.exe --install JDoe -filename D:\skeletons\siteskeleton -force-type zip

or

plesk bin skeleton.exe -i JDoe -filename siteskeleton -force-type zip

--reset or -r <client login name> Installs the Plesk default virtual host template for a client account.

To install the default virtual host template for the client with the login name JDoe:

plesk bin skeleton.exe --reset JDoe

or

plesk bin skeleton.exe -r JDoe

--help or -h   Displays help on the use of the utility.

To view help on the use of the utility:

plesk bin skeleton.exe --help

or

plesk bin skeleton.exe -h

Options

Option Parameter Description Example
-filename <file path>

Specifies a path to a virtual host template.

Used with the --install only.

To install a virtual host template from the file D:\skeletons\siteskeleton (in the ZIP format) for the client with the login name JDoe:

plesk bin skeleton.exe -i JDoe -filename D:\skeletons\siteskeleton -force-type zip

-force-type zip|tgz|tar.gz|tar

Forces specification of a template file format.

Used with the --install option only.