Page 1 of 1

Search dialog: Reg exps for path

Posted: 2009-02-04, 19:00 UTC
by m^2
I'd like to be able to use something like C:\dir\Di* as a search criterion.

Today I had a case when C:\dir was really large and there was 270 rather small directories with names starting with Di, in each of them, 10 levels below was a file properties.xml and I wanted to ensure that all are the same (this part is easy in my case). Sadly, as far as I can see, this time TC is not up to the task. It is doable, but searching whole C:\dir takes really long.

Posted: 2009-02-04, 19:25 UTC
by Hacker
Plugins tab perhaps?

Roman

Posted: 2009-02-04, 19:38 UTC
by m^2
Thanks Roman. This helps.

But please don't move this topic and instead let me suggest making the option easier to find. There's enough place for one more checkbox in the general tab. ;)

Posted: 2009-02-04, 19:50 UTC
by m^2
Hmm..just tried, not really helpful.
TC isn't smart enough to notice that if I request ^C:\\dir\Di, it doesn't have to look C:\dir\a
It searches the whole directory tree. I understand that it might require TC to modify to reg exp engine to implement it, but at least with wildcards it shouldn't be a problem.

Re: Search dialog: Reg exps for path

Posted: 2009-02-07, 22:44 UTC
by white
m^2 wrote:I'd like to be able to use something like C:\dir\Di* as a search criterion.

Today I had a case when C:\dir was really large and there was 270 rather small directories with names starting with Di, in each of them, 10 levels below was a file properties.xml and I wanted to ensure that all are the same (this part is easy in my case). Sadly, as far as I can see, this time TC is not up to the task. It is doable, but searching whole C:\dir takes really long.
* Go to C:\dir
* Click menu option Mark/Select Group
* Enter "Di*" and click OK
* Click menu option Commands/Search and do your thing