Page 1 of 1

tag handling

PostPosted: Mon Aug 18, 2025 10:52 am
by telcott
Hi there,

I've a very happy Hazel user, but have hit a snag when using the brew tag command with Hazel's tag colour check feature. This has been working for years on my Mac, and then it stopped working. The brew tag command (https://github.com/jdberry/tag/) hasn't changed in years, so I'm not sure what's broken. Both the tag command and Finder display the file as 'red' in Finder. The tag command seems not to set the com.apple.metadata in the same way as Finder.

brew tag command
Code: Select all
tag -a red Hello\ World.md


Code: Select all
xattr -l Hello\ World.md

com.apple.lastuseddate#PS: Q6?h
com.apple.metadata:_kMDItemUserTags: bplist00?URed
0


Finder red tag

Code: Select all
xattr -l Hello\ World.md

com.apple.FinderInfo:
com.apple.lastuseddate#PS: Q6?h
com.apple.metadata:_kMDItemUserTags: bplist00?URed
6

Re: tag handling

PostPosted: Tue Aug 19, 2025 8:44 am
by Mr_Noodle
Can you specify what exactly in Hazel you are doing as I'm not sure how the 'tag' command is something I can help with, being that it's not my program?