How can I ignore .svn folders when searching in Total Commander?
4 Answers
To exclude some files or folders from your search, use the following syntax in "Search field:":
Exclude from search *.bak and *.old files
my*.*|*.bak *.old
Don't search in .svn folders
*.cs|.svn\
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.

- 1,146
- 1
- 16
- 26

- 3,084
- 4
- 21
- 22
-
2Is everything after `|` excluded, or should I use the character for every exclude? – Tomáš Zato Jan 09 '15 at 14:19
-
1Accepted answer address true need of OP, but this answer is pure gold. It work in "synchronize dirs" dialog too (and I suppose in every single place where file mask is needed). – Marek Jun 24 '15 at 08:40
-
1This seems to require a wildcard * in the search item before the `|` in TC 8.50. – Fabian Dec 20 '17 at 06:20
-
I think this approach is much more flexible than palacsint's answer. – lxmfly123 May 15 '18 at 07:29
- 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.

- 28,416
- 10
- 82
- 109
-
This also excludes .svn folders when copying. This helps me a lot! Thank you! – buggy1985 Aug 05 '15 at 14:40
-
8You should be aware that this option also prevents .svn folder from being shown, in my case I don't want to hide any folders. – Raman Sinclair Aug 24 '16 at 17:27
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\

- 2,768
- 2
- 20
- 34
In version 9.12 you should also use an asterix. So add the following to Configuration menu / Options / (Operation) / Ignore List:
*.svn

- 23
- 6