Understanding the file format
The file format for a grouping rule file is the same for an import file and an export file. You can export the rules from the Rule Editor, edit the file in a text editor, then import the rules back into the Rule Editor.
About this task
A file of the grouping rules contains parameters for:
- Path and name for the rule - the path separator is a tilde (~). A tilde must be the first character for each line.
- Condition - the condition in this file has the same syntax as the condition in the graphical user interface. If there is no condition, this is blank (|_||_|).
- Type - either static or rule.
- Status - on (meaning it is used by the Inventory Tool during autogrouping) or off (meaning it is not used by the Inventory Tool during autogrouping).
Each line of the file represents one rule. The fields
are separated by |_|. For example: