The profile type aapt copy command clones an existing APT defense profile to create a new APT defense profile and displays the new APT defense profile view.
| Parameter | Description | Value |
|---|---|---|
| old-name | Name of an APT defense profile to be cloned |
The specified name of the APT defense profile must already exist. |
| new-name | Name of the APT defense profile to be created. |
The value is a string of case-sensitive characters. When the name does not contain spaces, the value is a string of 1 to 32 characters. When the name contains spaces, the value is a string of 3 to 34 characters, and you need to enclose the name in quotation marks (""), for example, "user for test". The value cannot contain question marks (?), commas (,), or hyphens (-). |
If the content of the new APT defense profile is similar to that of an existing APT defense profile, you can copy the existing APT defense profile to create a new APT defense profile.
If the value of new-name is not specified, the name of the new APT defense profile is old-name_n by default, where n indicates the number of times the profile is cloned. The value is an integer starting from 1.