psregedit
Description
psregedit is used to manage the PSQL Registry on Linux or macOS. You must be root user or a member of the group pvsw to make changes to the PSQL Registry.
Synopsis
psregedit
-key keyname [ -r ]
-key keyname -value valuename
-set -key keyname [-type type] value
-set -key keyname -value valuename [-type type] value
-delete -key keyname
-delete -key keyname -value valuename
-export -key keyname [-file filename]
-import [-file filename]
Where:
keyname is in the form PS_HKEY\Subkey and PS_HKEY is one of the following: PS_HKEY_CONFIG, PS_HKEY_CONFIG_64, PS_HKEY_CLASSES, PS_HKEY_CLASSES_64, or PS_HKEY_USER. Subkey is a subordinate key under a major key.
valuename is the name assigned to the Registry value or “default.”
type is PS_REG_STR, or PS_REG_UINT32, or PS_REG_UINT64.
value is the value assigned to valuename.
filename is the name of a file, which may include a path.
Options
-key | Get the key value. If -value is not specified, then the entire key contents are displayed. To view all subkeys, specify -r (for recursive). |
-set -key | Set the key value. If -value is not specified, the default value will be set. VALUE must be appropriate to the TYPE specified. PS_REG_STR is assumed if -type is not specified. |
-delete -key | Delete the specified key or value. If -value is not specified, then the entire key and all subkeys are deleted. |
-export -key | Export the given key, including all values and subkeys to standard output or to the named file. |
-import [-file filename] | Import keys and values from either the standard input or from the named file. |