docs.kde.org
KruSearcher: find what you are looking for
Prev
Next

KruSearcher: find what you are looking for

Welcome to Krusader's powerful search module - nicknamed KruSearcher. It is the most able tool (that we know of) for Linux®, since it allows so many different ways to quickly find the file you are looking for. The search function is also available on remote file systems. It is divided into two levels, the general and the advanced. Let's take a look at the general page.

Figure 9.3. General Search


General Search

The page is divided into four parts: top (search for) part, bottom part - titled 'containing text', left part - titled 'search in' and right part which is called 'don't search in'. Obviously, each part handles different aspects of the search. Let's look at them closely.

Top Part:

Left and Right Part:

Bottom Part:

The above screen shot shows a search for all the files which end with c, cpp or h and include the string 'testing 123'. Krusader will search in /root, /opt, /bin and /usr, but not in /usr/lib and /usr/share.

Clicking the Search button starts the search and displays the results page. During the search, you may press the Stop button to stop the search. The Close button is not operational during a search, so you must first stop the search and then Close the window. When a result is found, double-clicking on it will take Krusader's active panel point to the found files - but will not close the search window, so you will be able to click on a different result.

Sometimes, you need to narrow your search even more. Krusearcher allows a much finer search, and for that, let's look at the Advanced Page...

Figure 9.4. Advanced Search


Advanced Search

This screen shot shows a search for files whose size is between 10KB and 150KB, which were modified between October 10th and November 1st, which belong to any user in the 'users' group, and are readable and writable by anyone in the 'users' group, but only readable to the rest of the world.

The advanced page is divided into three parts: size, date and ownership.

Size

Allows you to choose the size range of the file you are looking for. By checking the check boxes, you can search for a file which is bigger than XXX bytes (or KB, MB), smaller than XXX bytes or, by checking both search for a file which size is bigger than XXX but smaller than YYY.

Date

This part offers three different ways of defining a date criteria:

Ownership

Note

To clarify, the screen shot above (the permissions part) describes a search for files that belong to any user in group 'users', are readable, writable but not executable to any user in the group, are readable but not writable or executable to the rest of the world and have unknown permissions to its owner.

Results

Clicking on the Search button to start the search and open the Results window. Here you can see the progress and the results of the search action. If you want you can stop the current search action with the Stop button. In the result list select the file and use F3/ F4 to view/edit or use the right-click menu. When you click on a found item, the directory of the active panel will change if the selected item is not in the current panel directory. The results window supports dragging items to other windows and copy to clipboard (Ctrl+C). When you close the Krusearcher window, the selected item is selected in the active panel.

Feed to listbox

When you click the Feed to listbox button after the results are displayed, then Krusader ask for a Query Name, this name will be used in the Results-Tab in the List Panel that holds the search results. You can do whatever you want on the files in the new tab. The location toolbar will display e.g. virt:/Search results 1.

Warning

The files in the Results-Tab are actually the original files. if you delete a file - it is removed!

Prev
Next
Contents


docs.kde.org