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

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
volovyan
Junior Member
Junior Member
Posts: 7
Joined: 2004-03-10, 08:33 UTC
Location: Canada

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

Post 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).
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post 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
jojojr
Junior Member
Junior Member
Posts: 7
Joined: 2012-08-06, 09:37 UTC

Post 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.
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post 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
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post 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
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Single user license #329241
PowerPro scripts for Total Commander
jojojr
Junior Member
Junior Member
Posts: 7
Joined: 2012-08-06, 09:37 UTC

Post 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.
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

http://ppro.totalcmd.net/QA.htm
Feel free to ask another questions when they appear.
Single user license #329241
PowerPro scripts for Total Commander
jojojr
Junior Member
Junior Member
Posts: 7
Joined: 2012-08-06, 09:37 UTC

Post 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.
Post Reply