Extract color configurations from an iTerm profile

from blog Alex W.'s Blog, | ↗ original
Moving colors from one iTerm profile to another is difficult because all the color configurations appear as separate, un-namespaced entries in the profile’s exported JSON. The following jq command can be used to pull out all the configuration items that have a "Red Component" sub-property, which all the color properties will have. jq...