Tags?


Galaxas0

macrumors regular
Mar 2, 2011
129
78
I assume they're similar to the Finder labels, but are now searchable. Will confirm this when I finish installing.
 

benwiggy

macrumors 68020
Jun 15, 2012
2,186
15
Except that you could only have one Finder label. (The 7 labels plug one other flag were stored in 3 bits of metadata!)

You can now have more than one, and create your own.
 

Minority_taxi

macrumors regular
Jun 23, 2008
107
0
Answers?

Hi, has anyone seen if existing meta tags work with OS 10.9 tagging? I want to know if I could start tagging files now ready for OS 10.9. huge help if someone could check if this works please :)

Cc.
 

leman

macrumors G4
Oct 14, 2008
10,272
4,801
Well, I just spent a few seconds looking at it so I can't tell much, but so far, it seems that both use a very similar approach to store tags. Actually, Apple's tags appear to be OpenMeta reimplemented. Both use xattrs to store tags. If I am not mistaken, OpenMeta calls its attribute com.apple.metadata:kOMUserTags and Apple's tags are stored in com.apple.metadata:_kMDItemUserTags

So I guess if OpenMeta would use the same attribute name, the both system will be compatible automatically. AFAIK they already store the tags in the same format. One idea would be to write a script which runs through all the files and renames com.apple.metadata:kOMUserTags attributes to com.apple.metadata:_kMDItemUserTags
 

Baklava

macrumors 6502a
Feb 1, 2010
567
42
Germany
Does anyone else get this error when clicking on a tag on Finders left sidebar?

Log

Exception Name: NSInvalidArgumentException
Description: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
User Info: (null)

0 CoreFoundation 0x00007fff94b008ce __exceptionPreprocess + 174
1 libobjc.A.dylib 0x00007fff895e6f51 objc_exception_throw + 43
2 CoreFoundation 0x00007fff94ab1db6 -[__NSPlaceholderArray initWithObjects:count:] + 358
3 CoreFoundation 0x00007fff94ac47a0 +[NSArray arrayWithObjects:count:] + 48
4 Finder 0x000000010a04ee54 Finder + 1613396
5 Finder 0x000000010a04f551 Finder + 1615185
6 Finder 0x000000010a0a07a4 Finder + 1947556
7 Finder 0x000000010a0a0fab Finder + 1949611
8 Finder 0x0000000109f4d0ab Finder + 557227
9 Finder 0x0000000109f4c749 Finder + 554825
10 AppKit 0x00007fff93db5918 -[NSWindow sendEvent:] + 11303
11 AppKit 0x00007fff93daff48 -[NSApplication sendEvent:] + 2021
12 Finder 0x000000010a02ef7b Finder + 1482619
13 AppKit 0x00007fff93cd1599 -[NSApplication run] + 646
14 AppKit 0x00007fff93c7b563 NSApplicationMain + 940
15 Finder 0x0000000109ecb878 Finder + 26744
16 libdyld.dylib 0x00007fff8989f60d start + 1
17 ??? 0x0000000000000001 0x0 + 1
 

Attachments

sfwalter

macrumors 68000
Jan 6, 2004
1,809
847
Dallas Texas
Well, I just spent a few seconds looking at it so I can't tell much, but so far, it seems that both use a very similar approach to store tags. Actually, Apple's tags appear to be OpenMeta reimplemented. Both use xattrs to store tags. If I am not mistaken, OpenMeta calls its attribute com.apple.metadata:kOMUserTags and Apple's tags are stored in com.apple.metadata:_kMDItemUserTags

So I guess if OpenMeta would use the same attribute name, the both system will be compatible automatically. AFAIK they already store the tags in the same format. One idea would be to write a script which runs through all the files and renames com.apple.metadata:kOMUserTags attributes to com.apple.metadata:_kMDItemUserTags
I found this shell script which will convert openmeta to maverick tags: https://gist.github.com/Zettt/5880737