How to perform a file/folder search with an exclusion pattern?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
zupermario
Junior Member
Junior Member
Posts: 26
Joined: 2011-04-01, 21:11 UTC

How to perform a file/folder search with an exclusion pattern?

Post by *zupermario »

for example: search for all ZIP files larger than 1 gigabytes, excluding those containing the word "big".

Thanks!
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: How to perform a file/folder search with an exclusion pattern?

Post by *tuska »

Hi,

Search with Total Commander
  1. Search in separate process... Alt+Shift+F7
  2. Tab "General" - Search for: *.zip
  3. Tab "General" - Search in: Delete the content of this field if necessary
  4. Tab "Advanced" - ☑ File size: > 1 Gbytes
  5. Tab "Plugins":
    Search in plugins | Plugin: tc | Property: fullname | !contains | big
    Remark: ! = NOT
  6. Click on Button "Start search"
 
Search with Total Commander using the "Everything" tool - (Tab "General" - field "Search for:")

Code: Select all

ev:ext:zip size:>1GB !big	; Search is carried out in all indexed drives, the "Search in" field is NOT taken into account!
ed:ext:zip size:>1GB !big	; Search is performed up from the current directory (indexing in Everything required)
zupermario
Junior Member
Junior Member
Posts: 26
Joined: 2011-04-01, 21:11 UTC

Re: How to perform a file/folder search with an exclusion pattern?

Post by *zupermario »

tuska wrote: 2024-02-19, 15:08 UTC Hi,

Search with Total Commander
Thank you very much!
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How to perform a file/folder search with an exclusion pattern?

Post by *petermad »

Or use:
2. Search for *.zip|*big*.zip
and skip the plugin search in step 5
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
zupermario
Junior Member
Junior Member
Posts: 26
Joined: 2011-04-01, 21:11 UTC

Re: How to perform a file/folder search with an exclusion pattern?

Post by *zupermario »

petermad wrote: 2024-02-19, 20:58 UTC Or use:
2. Search for *.zip|*big*.zip
and skip the plugin search in step 5
So, | is not? Nice!
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How to perform a file/folder search with an exclusion pattern?

Post by *petermad »

2zupermario
So, | is not? Nice!
Help wrote:Search for: In this field, you can enter the search mask for the files you want to find. A question mark ? stands for exactly one character, and an asterisk * stands for any number of characters. Multiple search masks can be entered, separated by spaces (see examples below). All masks after the pipe character | will be treated as exclude masks
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to perform a file/folder search with an exclusion pattern?

Post by *ghisler(Author) »

Total Commander uses the | pipe symbol to separate positive from negative filters, not as a "not" symbol before each filter. So to exclude several file types, only put the pipe symbol once, e.g.
*.zip|*big*.zip *large*.zip
Author of Total Commander
https://www.ghisler.com
Post Reply