 |
 |
| re: mmu_man |
 |
 |
By zuMi - Posted on June 30, 2007 - 02:27:40 (#21773)
Current version when comment was posted: 20070626 |
 |
 |
Really odd, at Be they thought about the creation of a keyword attribute but they didn't indexed to made it searchable.
BTW, the purpose of the app is to create/show tags ( now you can query for a tag from the gui, see the screen shot page), but you can change it, like to work for MAIL:topic (just an example)
|
|
| Re: Re: Attribute META:label already in use |
 |
 |
By mmu_man - Posted on June 15, 2007 - 09:41:52 (#21722)
Current version when comment was posted: 20070615 |
 |
 |
Isn't META:keyw (Keyword) meant for this purpose ?
It's used by bookmarks but nothing prevents it from being used elsewhere. Just like META:url which I put on files I wget to remember where I got them from (TODO: fix wget to do it).
|
|
| Re: Attribute META:label already in use |
 |
 |
By zuMi - Posted on June 12, 2007 - 13:29:46 (#21717)
Current version when comment was posted: 20070612 |
 |
 |
>It's been in use for years. :-]
I chose META:label because I used Label too, and the index was in use.
But the script does something that your app don't, like writing multiple labels separated by commas, or the skill to add a new label on the fly ( with Label you have to open the app first, type the new label , close and reusing it as a Tracker add-on)
The script can't color icons, obviously.
>One can query for labeled files like this:
>$ query 'name=*&&META:label=*'
another bash trick, to make a query for every label.
query -e -a 'META:label==*' | while read file; do catattr META:label "$file" 2>/dev/null;done | sed 's/^.*: //g' | tr "," "\n" | sort | uniq | while read query; do touch "${query}"; addattr -t mime BEOS:TYPE "application/x-vnd.Be-query" "${query}"; addattr -t string _trk/qrystr "(META:label==\"*${query}*\")" "${query}";done
>and it'll be fast if you've got an index on it.
>$ lsindex | grep META:label
a question: as I know lsindex shows the indices of current volume, or are there some hidden args to let it work on all mounted bfs volumes?
|
|
| Attribute META:label already in use |
 |
 |
By jonas.kirilla - Posted on June 12, 2007 - 12:33:24 (#21716)
Current version when comment was posted: 20070612 |
 |
 |
It's been in use for years. :-]
http://www.bebits.com/app/520
Well, at least by me. I color everything I work on, FWIW. :}
One can query for labeled files like this:
$ query 'name=*&&META:label=*'
and it'll be fast if you've got an index on it.
$ lsindex | grep META:label
|
|
|
|
|