In this procedure you will copy an existing profile. Use this procedure when another user has created a profile that is useful to your own deployment and management jobs, but you want to be able to edit it. You could also use this procedure on your own profiles, to create a new profile based on a prior one. You cannot copy a Predefined System Test Profile (see Chapter 7, System Management Profiles). Users of all levels can perform this procedure in the console.
Do one of the following:
Select a profile from the list.
Do one of the following:
Edit the profile as needed, or simply change the name.
Click OK.
The Profile Editor window closes. A copy of the profile with the new name appears in the Profiles window.
The copy profile command in the CLI allows you only to save a profile under a new name, without making changes to the settings. See Copy Profile (-cp) Command.
#! /bin/bash echo -n “Enter your user name:” read user echo -n “Enter your password:” read password echo -n “Enter a string to search for exact component name:” read comp2find uce_cli -fc -T $comp2find -u $user -p $password echo -n “Copy the exact component name that you want to add to a profile:” read comp2use echo -n “Enter the name of a profile or create a new one:” read profileName echo “What do you want to do with the component?” echo “Make it Required, Not Allowed,” echo “or Upgraded when possible?” echo -n “Enter the setting (-R | -N | -U) (case-sensitive):” read setting uce_cli -apa -P “$profileName” -T “$comp2use” $setting -u “$user” -p “$password” |