Search: Difference between revisions
m (White moved page Search function to Search: More concise page name) |
(→General tab: Improved description of search list.) |
||
Line 103: | Line 103: | ||
* The file containing the search list must be a text file with encoding ANSI, UTF-8, or UTF-16 (the latter two with BOM). | * The file containing the search list must be a text file with encoding ANSI, UTF-8, or UTF-16 (the latter two with BOM). | ||
* The search list has its own syntax that differs from the syntax of the "Search for" field. | |||
* Every line represents a search operation that is executed in sequence. Each line contains either: | * Every line represents a search operation that is executed in sequence. Each line contains either: | ||
** A file or folder name (either an absolute path, or relative to the location of the list file). | ** A file or folder name (either an absolute path, or relative to the location of the list file). | ||
** A folder name (optional, ending in \), followed by one or more wildcard expressions. | ** A folder name (optional, ending in \), followed by one or more wildcard expressions. | ||
** A folder name (optional, ending in \), directly followed a "<" character and a regular expression. | ** A folder name (optional, ending in \), directly followed a "<" character and a regular expression. | ||
* You cannot use wildcards or regular expressions within a path. | * You cannot use wildcards or regular expressions within a path. | ||
* When a line contains only a filename (as opposed to a folder name) and no wildcards or regular expression, the search is limited to the specific file without including subfolders. | |||
* When wildcards or a regular expression are used, the search extends to subfolders. | |||
''When "Search subdirectories" is set to 1 level or more'' | ''When "Search subdirectories" is set to 1 level or more'' |
Revision as of 10:54, 5 July 2024
Search in Total Commander allows users to search for files and folders within their system. The search feature has lots of options, which are divided over the tabs: General, Advanced, Plugins, Load/Save. The user can utilize options from multiple tabs and then start the search. After starting a search, the results will populate a search result panel at the bottom.
The search feature has several options to utilize the tool Everything (indexing and search tool), for very fast results.
Opening the search function
The search function in Total Commander can be opened through the following methods:
- Menu option: Commands/Search
- Hotkey: Alt+F7
- Button bar: Search button
- Internal command: cm_SearchFor
General tab
This tab provides options to configure the search for filenames, parts of filenames, text inside files, and text inside content plugin properties. The various options and input fields are explained below.
Search for |
The "Search for" field contains the search text. The search text not only determines what is searched, but also the search mode as explained in the table below.
| ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Search in | The "Search in" field allows you to do one of the following:
Searching using a search list
When "Search subdirectories" is set to 1 level or more
When "Search subdirectories" is set to "current dir only"
Search list example
| ||||||||||||||||||||||||||||||
Drives | Select the drive(s) you want to search. You can select multiple drives. | ||||||||||||||||||||||||||||||
RegEx | Search in file names using regular expressions. | ||||||||||||||||||||||||||||||
Only search in selected directories/files | Restrict the search to folders and files that have been selected in Total Commander's active file panel. | ||||||||||||||||||||||||||||||
'Everything' | Use the program 'Everything' to search NTFS-formatted drives. | ||||||||||||||||||||||||||||||
Search archives | Also search within archives.
| ||||||||||||||||||||||||||||||
Search in subdirectories | Choose where to search: all subfolders, current folder only, or up to a set depth from the current folder. |
Find text | If checked, you can enter text to be searched.
Notes
|
---|---|
Whole words only | Limit the search to whole words only. |
Case sensitive | Enable case sensitive searching. |
RegEx (2) | Search in file contents using regular expressions. |
Hex | Search for hexadecimal characters. |
Find files NOT containing the text | Search for all files that do not contain the search text. |
ANSI-Charset (Windows) | Assume files are encoded using the Windows charset with the default language encoding. |
ASCII-Charset (DOS) | Assume ASCII files. Special characters in the search text, like the pound sign (£), are translated to their DOS equivalents. |
Unicode UTF-16 | Assume Unicode files where each letter is coded by 2 bytes. |
UTF8 | Assume UTF-8-encoded Unicode files where each letter is coded by 1 up to 4 bytes. |
Office xml (docx, xlsx, odt etc) + EPUB | Search in Microsoft Office, OpenOffice/LibreOffice, and EPUB files. |
Plugins | Search in content plugin properties for the text given in "Find text". |
Advanced tab
Plugins tab
Load/save tab
Search results
Search results are displayed in the search result panel. Users can perform various actions on these results:
- View or edit found files, even while the search is ongoing.
- Copy results to the clipboard with Ctrl+C after the search has finished.
- Perform actions like Go to file and Feed to listbox on the search results.
- Search within the search results.