Page 1 of 1

Add "Do not search in these folders" option to &qu

Posted: 2012-10-15, 19:44 UTC
by volovyan
I prefer to perform searches in files using TC's "Find Files".
Often the folders contain .git, .svn, etc folders in them, as well as e.g. build where built binaries are stored.
I would like to search for something in a source, and would like TC to have
a list of folders not to search within, so it will save lots of time during search.
I don't know if this has already been proposed (could not find it through the topics).

Posted: 2012-10-15, 20:13 UTC
by HolgerK
I. Solution
Search for: *.txt|*.git\ *.svn\ release\

Positive search mask before the pipe (|) symbol.
Negative search mask (files and folders\ to exclude) after the the pipe symbol.

II. Alternative solution:
Configuration -> Options...: Ignore list

BTW: Simple <F1> inside the search dialog would have led you to solution I

HTH
Holger

Posted: 2013-12-06, 22:22 UTC
by jojojr
I have the same query as the OP. The solutions given by HolgerK are not what I need.
What I would like to have available is a "search ignore list" similar to the "ignore list". That is to say I do want the .git folders to be displayed in my TC windows, but I want to ignore them when I am performing a search. And I do not want to enter a search mask each time I perform a search.

Posted: 2013-12-06, 22:44 UTC
by HolgerK
And I do not want to enter a search mask each time I perform a search.
Open the help and search for LOADSEARCH:
Commands
...
10. LOADSEARCH saved_search_name opens search function with saved search.
or TC command line parameter for separate search(TC8.5):
F1:4.a Command line parameters wrote:/S=F Open "Find Files" dialog without TC main window, e.g. totalcmd.exe /S=F "c:\start path"
Accepts additional parameters separated by a colon, e.g. /S=F:S1Lname
S Sort results by: 1=name, 2=extension, 3=size, 4=date/time. Negative value for descending order
L<x> As LAST parameter: Load search with name <x>, e.g. "/S=F:Lmax 1 day old"
HTH
Holger

Posted: 2013-12-06, 22:48 UTC
by HolgerK
I'm not against multiple lists for different purposes (but for sure with different names like "Search exlude list").
But changing the behavior(*) of the current "Ignore list" would be the oddest solution for most users.

Regards
Holger

(*) Oops. Mixed this thread with this one: http://ghisler.ch/board/viewtopic.php?p=275439#275439

Posted: 2013-12-07, 07:56 UTC
by Vochomurka

Posted: 2013-12-07, 22:37 UTC
by jojojr
Vochomurka, this looks just what I need. However I do not undertand the relationship between TC and PowerPro.
What do I do with your FindExclude text file?
Do I need to install PowerPro first?
Thanks in advance.

Posted: 2013-12-08, 07:39 UTC
by Vochomurka
http://ppro.totalcmd.net/QA.htm
Feel free to ask another questions when they appear.

Posted: 2013-12-08, 17:23 UTC
by jojojr
Vochomurka wrote:http://ppro.totalcmd.net/QA.htm
Feel free to ask another questions when they appear.
Thanks, I'll have a look ASAP.