Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having real trouble getting the Search function to work in Nautilus. It seems to be able to find text present in a file in the directory I'm currently in, but how does one do a search on filenames, or dates? I did a search on this forum for similar problems, and other people have had trouble too, but no real resolutions were suggested, other than using "locate" in the shell. But I cannot see any way dates can be search for here, either.
Say for instance I wanted to search for *.jpg files saved across my system between 1 March 2008 and today. What utility would I use, and how would I do it? Can it even be done with Nautilus? Or the shell?
Indeed, the search function in Nautilus is minimal. However, you can install a little add-on called nautilus-search-tool that will add an entry in the right-click context menu. After installation you have to restart the desktop manager, then open Nautilus and right-click over an empty area of the nautilus windows. Select "Search for files" and add your preferred search criteria under "Select more options".
FYI, from the command line you can try the find command which let you search files based on a lot of criteria. For example, you can look for files newer than a given file. First create an empty (dummy) file with modification time at 1 March 2008
Code:
touch -t 200803010000 /tmp/dummy_file
then find all files newer than this dummy file, e.g.
Thanks for that. I downloaded the suggested Nautilus search tool, but it's not a package so it needs to be compiled (groan!) I'll have a stab at it but I've never yet successfully compiled anything in Linux!
I just had a thought - although I normally use Gnome Nautilus, I have Konqueror installed (it came with the distro). I don't like Konqueror generally but I just tried the search function and it actually works. So if I don't get the Gnome one working, I guess I can always switch to Konqueror for searches, if I really need to.
I'll also look into the Find command, but it looks rather limited if you have to do that dummy-file creation thing. But thanks for the extra info.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.