LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-03-2008, 02:32 AM   #1
Steve W
Member
 
Registered: Mar 2007
Distribution: Linux Mint 18.1
Posts: 520

Rep: Reputation: 44
nautilus search


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?

Steve Wylie
 
Old 06-03-2008, 03:19 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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".
 
Old 06-03-2008, 03:41 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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.
Code:
find . -type f -newer /tmp/dummy_file
 
Old 06-03-2008, 02:05 PM   #4
Steve W
Member
 
Registered: Mar 2007
Distribution: Linux Mint 18.1
Posts: 520

Original Poster
Rep: Reputation: 44
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.

Steve
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how does one search w/ Nautilus? cool_arrow Linux - Newbie 6 04-28-2008 02:14 PM
Nautilus Emblem Sort / Search zweistein Linux - Desktop 0 01-05-2008 05:25 PM
Using Nautilus to Do a Drill Down Search bluetrane1973 Linux - Newbie 1 11-07-2007 10:10 PM
How Do You Search With Nautilus ? PhilK Linux - Newbie 4 04-14-2007 12:11 PM
Click on Places>Search for Files> (I get a Nautilus has quit error) Balarabay1 SUSE / openSUSE 0 07-14-2006 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration