4

Xubuntu Xenial and I use thunar as file manager. I am also new to LINUX.

I need a right click custom action to search files with wild cards. I implemented the custom action with catfish but this does not allow search with wild cards.

I looked into the find command and would like to use it with the read command to pass the wild card.

I tested the following command in my terminal window and it seems to work:

$(read -p 'wildcard : ');find ~/home -iname '$wildcard'

But where can I display the result?

piscvau
  • 119

2 Answers2

1

What exactly are you trying to accomplish? While the simple "start typing" search in thunar doesn't have wildcards and needs a match from the first letter, the catfish search that already comes with thunar on Xubuntu is quite powerful (and also cpu intensive).

Simply right click on the folder you wish to search and select the "Find in this folder".

A new window will appear, and it is a simple match search. As long as everything you type matches somewhere you'll get the results back. There is no need for a traditional * as wildcard. Just separate the different 'parts' you want to search with a space. There are plenty of other options, like also searching file contents, exact matches, etc.

enter image description here

Podesta
  • 1,146
0

For me "just typing" didin't work.

In Thunar press Ctrl-F will call typeahead searchbox, and Strl-F will call searching by pattern.