Introduction

Overview / Layout

Panels

FileSystem

File Operations

Extensions

Tools

Customization and Configuration

Configuring the Layout

User Commands and Scripting

Other

API

Troubleshooting

FAQ (pages to follow)

Index

File Search

Multi Commander provides facilities to search for files and folders, along with a number of options to control the search.

To perform a search, go to the path where you want the search to start and then press hot key for starting search or or select "File Search" in the Extensions menu or Find Files from the File menu.

Shortcuts

Start an instance of the Find Files (Search) Panel.
Alt+F7 - For Commander-Style Setup
F3 - For Explorer-Style Setup

The search dialog will open in a new tab in the opposite panel from that in which you are positioned.

Specify what to look for and how you want to look for it.
You can specify multiple search terms by separating them with spaces.
(If you need to include a space in the search target, put quotes around it. e.g. "Images 23.jpg" .)


You also need to specify how to look for matches. There are three methods provided:

Contains : files and folder names must contain any of the search terms you specify in order to match.
Wildcard : the search terms that are specified contain wildcard characters, e.g. "*.jpg" to find all files ending with ".jpg".
RegEx : the specified search terms are regular expressions.

Using wildcard search you can also specify an exclusion filter by including a - in front of the filter.
For example if you search for "*.cpp -base*"

This will find file named AlphaClass.cpp but it will not match BaseClass.cpp

 

 

Next you need to specify where to Look In when starting to search for matches. Normally this path is already set to the path that the file browser showed when you opened the search dialog. You can press the Reset button to reset the Look In path to the path that is currently shown in the opposite view.

(You can specify multiple location to search in by separating them with ; for example "D:\Project;F:\Downloads\;C:\Temp\" )

You can also press the "<" button to add all local harddrive, or paths from open tabs.

You can also specify how many Sub Levels down in the file hierarchy to search for files. By default as many levels as exist are searched.

It is possible to exclude folders from the search in the Exclude Filter. You can enter a space-separated list of folder names that you want to ignore when searching.
(Foe example if you enter ".svn tmp data" then no folder named ".svn" or "tmp" or "data" will be searched).

If you have previously searched for something you can specify that a new search should search the Results  of the first search.
This way you are doing a search on the previous search result. This is a useful way to filter files from searches that produce too many results.

More Options

By pressing the "More >>" button you can specify more advanced search options.

You can find files with a specific File Content and you can specify how the search should try to find that content. (See the screenshot above for available options).

It is also possible to match files on Attribute, Size and Date. (See above).

Date Match Help

Date matching includes some predefined date ranges that can selected. By pressing the < Button in the Match dates section you will get a list of date ranges. When one of them is selected the From and To date fields are automatically populated.

Load / Save Presets

The Find Files window can load and save presets of previously-configured searches using the function keys F1 to F10.
To save a search to a preset press Ctrl+Function key (eg. Ctrl+F1). 
To load a preset press a function key that has a preset saved to it, (eg. F2).

Hot Keys in the Find Files Window

  • Ctrl+F - Show / Hide the Find Files window.
  • Alt+Z - Clear all search fields.
  • Ctrl+X - Expand / Shrink the Find Files Dialog
  • F1-F12 - Load Preset
  • Ctrl+F1-F12 - Save Preset

Search Result

When right-click on items in the result list you will see a list of options. Here you can filter out files from the result list based on their paths. This can be useful if the result list is very large.

If you double-click on a file in the result list, the opposite panel will open at that files path the file will have focus. You can also press View and Edit files directly from the search result panel and it is possible to copy files from the search results.

Scripting

File Search can be scripted by creating your own user defined command to start a search. By assigning a hotkey to your command you can start searches you use often with a single keypress.

The search is controlled by Custom Command script. More information about the search script command is found here

Scripting example:

MC.FileSearch.Search SEARCHIN="${sourcepath}" SEARCHFOR="*.xml *.txt" AUTOSTART