How to ignore .svn folder when searching in Total Commander

How can I ignore .svn folders when searching in Total Commander?


To exclude some files or folders from your search, use the following syntax in "Search field:":

  1. Exclude from search *.bak and *.old files

    my*.*|*.bak *.old
    
  2. Don't search in .svn folders

    *.cs|.svn\
    
  3. Don't search in .git folder

    *.cs|.git\
    

The meaning of | is: 'and not'. Everything after it is excluded from the search. This syntax can also be used in other places, for example inside the ignore list.


  • With Total Commander 8.01: Configuration menu / Options / (Operation) / Ignore List
  • With older versions: Configuration menu / Options / (Display) / Ignore List

Then add

.svn

to the textbox.


In version 9.12 you should also use an asterix. So add the following to Configuration menu / Options / (Operation) / Ignore List:

*.svn

In my case I tried search text, but exclude searching in directories bin and obj. I didn't know that pattern before pipe is required too, but I found help here: https://gist.github.com/DStereo/af5f54c2d2d0d7073383f22753396185

So I had to put pattern in Search for field.

*|bin\ obj\