How to search for empty key/value pairs

Community,

does anyone know what the syntax needs to be in order to search for nodes with an empty tags?

i.e. knife search node -i "tags:Dev" (Tags: Dev)

i.e. knife search node -i "tags:null" (Tags: )

Thank you in advance for your help,

Hi

This worked for me: knife search "NOT tags:*" -i

Regards

1 Like

I will try this and let you know. Thank you

OK yes, this does work great! Thank you! I noticed that I didn't spell things right in my prior attempts.