How to search for files and file contents with a GUI?
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 click select 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.
Related videos on Youtube
waspinator
Updated on November 22, 2022Comments
-
waspinator over 1 year
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.
-
Admin almost 12 yearsYou could try installing nepomuk, strigi, and dolphin file browser - together nepomuk and strigi will index (including contents) your file system, and dolphin supports searching this indexed content (as well as supporting other cool features like tagging files...)
-
Admin almost 12 yearsI'd rather not switch to kubuntu or mix applications from different desktop environments/OSs. I'm using stock ubuntu 12.04.
-
Admin almost 12 yearsOk well actually strigi is desktop environment independent and is supported (apparently) in Gnome also: en.wikipedia.org/wiki/Strigi via the deskbar applet.
-
Admin almost 12 yearshmm, strigi is only a daemon. and the gui (catfish) isn't very good.
-
-
Admin almost 12 yearsIt may be necessary to use a desktop search program that indexes results and forms a database. Take a look at askubuntu.com/questions/29483/…
-
Admin almost 12 yearswow, why isn't this integrated into nautilus! slow, but works as expected. I hope ubuntu catches up with windows/osx in search within this decade. thanks
-
Admin over 9 yearsintegrate such a thing would make them near the desktop... and i'm sure they are AVOIDING it. :\
-
Admin almost 7 yearssearchmonkey or regexxer are extremelly better tho! askubuntu.com/questions/29483/…