- Stored results
All search results will be stored even if the search window is closed. You can open the search window later and access previous results without searching again.
If you want to get rid of all previous results you can click on the button "Clear store".
- Search refinement
It's possible to refine a search result. Whenever search results are available, any further search with different parameters will only consider these results. The text field for the start directory will be invisible in this case.
Using the button "Start new search" you can start a completely new search, the search results will be cleared and the text field for the start directory will become visible again.
- Search inside archives
Searches can be started directly within an archive, there's no need to decompress an archive. It's even possible to search in other archives stored in archives, like a zip file inside a tar.gz archive.
- Show results in list view to work on the files.
- Pressing <ENTER> in any of the text fields directly jumps to the next field. Pressing <ENTER> in the text field about file content will automatically start the search. Pressing Ctrl+<ENTER> will immediately start the search.
- You can configure the search command to show the previous result when you start the command. This makes it easy to come back and browse the results again even if you did some file management in the meantime.
- Start directory
You can enter a single dot or leave it empty if you want to start the search in the current directory.
The text field is invisible if search results are available which will be used for further results.
- File name
Using the default settings you can enter shell-like patterns using an asterisk as a placeholder for an arbitrary string. You can select the option "Use regular expression" if you want to use regular expressions for more sophisticated patterns.
You can also choose to match the complete file name including the path by selecting the corresponding option.
- File content
If not empty the search also checks the content of the files accordingly the regular expression entered here. The list of results will then also contain the exact line number in which the entered string was found.
- Follow symlinks
When selected the search will also enter symlinked directories when walking through the directory tree.
- Search content of archives too
This option enables the search to look inside archives just as they were directories.
Note: This can be significantly slower since every archive in any sub-directory will be opened. If the start directory is a remote directory this means that archives will be downloaded even if the search doesn't involve content matching.
There are buttons available for manipulating the results.
- Change directory to entry
By clicking on this button you can immediately close the search window and the selected result will be highlighted in the active list view inside Worker.
You can also double click on a result or press enter to do the same.
The active entry will be opened in the internal file viewer directly jumping to the corresponding line number, if any.
The edit command will be used to edit the active entry in an external editor. The command can be configured in the configuration of the search command.
- Remove selected results from list
As the available results will be used for further results you can removed some entries from the list so these files won't be considered for search refinement.
Since Worker 3.0.0 it is possible to show the results in the regular file view and work on these files. Just click on Panelize results button in the results window. You can choose to keep the window opened by right-clicking on the button. Otherwise the window closes and you see the matched files in the list view as a virtual directory. All file operation are supported in this view too (since Worker 3.1.0).