decorate files with tags for easy search

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
billiebub
Member
Member
Posts: 187
Joined: 2011-04-12, 19:49 UTC

decorate files with tags for easy search

Post by *billiebub »

I've been playing with lots of files lately and thought of an idea where files can be tagged. Let's take for example some websites that offer this capability where you could tag videos to describe their content.

I sometimes work with files where they belong (or should belong) to different directories based on their content. I'm not entirely sure how TC would handle tags but take for example the quick search where you type file names. Wouldn't be cool if you could pass in a param (much like how you can use ? for regular expression) to the quick search and specify the tags then be able to select only files that match the defined tags?

If it could be applied to the file search function that would be also really great.
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Maybe you can use file comments as tags? Press Ctrl+Z to edit comment, or add corresponding column to see comments.
billiebub
Member
Member
Posts: 187
Joined: 2011-04-12, 19:49 UTC

Post by *billiebub »

I tried the comments option but the quick search does not seem to search by comments unless I'm missing something here.

MVV, your great VirtualPanel does lots of things already. You think this is something that can be integrated into VP?
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

VP doesn't provide any additional attributes.

You may try to search via Plugins search tab:

Code: Select all

tc.comment contains bla-bla-bla
Quick search is able to search by name only. You may try this, but I haven't used it so don't sure.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

billiebub wrote:I tried the comments option but the quick search does not seem to search by comments unless I'm missing something here.
You are missing two plugins:
- QuickSearch eXtended
- CommentsWDX

Works for me with tcmatch.ini:

Code: Select all

[general]
wdx_separator_char=/
[wdx]
wdx_text_plugin1=Comment@d:\totalcmd\Plugins\content\comments\CommentsWDX.wdx
wdx_groups=|1
wdx_cache=1000
Now I can type /whatever to get only files with whatever in comments :)

Disadvantage: comments do not work for files with Unicode file names.
Similar topic: http://www.ghisler.ch/board/viewtopic.php?p=221740
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
billiebub
Member
Member
Posts: 187
Joined: 2011-04-12, 19:49 UTC

Post by *billiebub »

Now that's something I can say that mimics tags. I knew about the Quick Search extended. In fact I use it all the time especially their support for regular expressions. I did not know of the commentsWDX plugin but it's really cool that I can now use it with Quick Search. Hopefully I don't get to play with too many unicode file names.

Thanks a lot guys.
sorcar
Member
Member
Posts: 100
Joined: 2005-04-12, 17:45 UTC
Location: U.S.

Post by *sorcar »

Now I can type /whatever to get only files with whatever in comments
fenix_productions: This is brilliant. And I had been searching heaven and earth for a less elegant solution! Thanks, so so much. :D
jp_roth
Junior Member
Junior Member
Posts: 18
Joined: 2011-07-08, 00:43 UTC

Post by *jp_roth »

Do you know if quicksearch extended supports relative or %commander_path% variable when pointing to the wdx plugin? Sorry, not have tc where i am.

Regards.
Post Reply