2 ms·
Isn’t it: .tags | to_entries | map(select(.value[] == "tag:primary") | .key)) This took me a little while as I wasn’t at a computer so I couldn’t build the
by dan-robertson 3y ago
Isn’t it:
.tags | to_entries | map(select(.value[] == "tag:primary") | .key))
This took me a little while as I wasn’t at a computer so I couldn’t build the query interactively.
I think the big advantage jq has is that ChatGPT can generate filters from English descriptions.