When I use the search function in Nautilus it only returns files with matching file names. It doesn't even support wildcards. For example, "*.txt" doesn't return anything. I would expect it to return all .txt files.
Anyway, is there a way, without using the command line, to search the contents of files, including all plain text files (.txt, .html, .css, .js, .c, .csv, .sh, .py, ...), archives (.zip, .7z, .rar, .tar, ...), office/libreoffice files (.doc, .docx, pptx, .odf, .ods, ...), and media (.mp3, .mp4, ...) meta data? The search should also have the option of setting file size, date, type, and being case insensitive.
When you use
Nautilus
, just click search from the top level of your home folder (i.e. where you can see all your folders laid out) and in the search box only enter.pdf
(or whatever extension like.txt
that you want to find). That's what I do and it just returned me all the pdfs in my home folder. You don't need to use a wildcard or put quotes around the search term in Nautilus search, unlike when you use search programs on the command line.The
gnome-search-tool
can be used to search within files- select the home folder or the directory to be searched and then clickselect more options
, and input your search term where it says'contains the text.
' It can be quite slow as it works without an index, but I have used it several times and it has been useful for basic searches.At the launcher you will see homefolder. Click on it and select the lib you want to search. You see in the right upper corner the answer. You can search with that.
Here's my solution for 1.5 terabytes of files on an external hard drive - 'cos you can search with "find - all" in the resulting XLSX nice and easy (Does not answer the GUI question, tho - sorry)
Put this in the terminal to create a TXT file with all your folders and files
afterwards, open the TXT file and replace ./ & / with "*"; also replace "user user" with "user *" to delineate size & date date for this year do not show the year - gee!. Replace "\" with space
Then open in XLS (Libre Office) column delineator "*" Save-As XLSX - (plain XLS only does 35,000 rows - mine had 330,000 rows) Delete first column, replace with auto number 1 thru whatever Select all, SORT by column C & next 7 columns - goes to col G normally
And use the "find" function in Libre Office to your heart's content