Search for files in Linux Mint 14 (Cinnamon Edition)

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
jarble
Level 1
Level 1
Posts: 1
Joined: Fri Dec 28, 2012 11:39 pm

Search for files in Linux Mint 14 (Cinnamon Edition)

Postby jarble » Fri Dec 28, 2012 11:41 pm

Is there any way to search for files in Linux Mint 14 Cinnamon Edition? I still haven't figured out how to search for files from the Start menu.

Nefter
Level 1
Level 1
Posts: 1
Joined: Fri Dec 28, 2012 12:40 pm

Re: Search for files in Linux Mint 14 (Cinnamon Edition)

Postby Nefter » Fri Dec 28, 2012 11:58 pm

I use CTRL+F while browsing files in Nemo (default file manager) to find files by name.

If youre familiar with terminal, you can use "find" command to specify what exactly you want.

Nick Payne
Level 2
Level 2
Posts: 96
Joined: Sun Feb 21, 2010 8:49 pm

Re: Search for files in Linux Mint 14 (Cinnamon Edition)

Postby Nick Payne » Sat Dec 29, 2012 2:45 am

I use gnome-search-tool. With it you can perform filename searches within a directory structure, and also add further options such as search for specified text in the files and by size, date, etc.

If it's not already installed:

Code: Select all

sudo apt-get install gnome-search-tool

User avatar
3.14159
Level 1
Level 1
Posts: 41
Joined: Thu Dec 13, 2012 9:13 am
Location: Look behind you.

Re: Search for files in Linux Mint 14 (Cinnamon Edition)

Postby 3.14159 » Sat Dec 29, 2012 10:38 am

I typically use "locate" in a terminal to find things. I'm lazy that way.

Code: Select all

localhost ~ $ locate ./ smb.conf
/etc/samba/smb.conf
/etc/samba/smb.conf.master
/etc/samba/smb.conf.old
/usr/share/doc/nemo-share/examples/smb.conf
/usr/share/man/man5/smb.conf.5.gz
/usr/share/samba/smb.conf
/var/lib/ucf/cache/:etc:samba:smb.conf

In any case, good luck!
"A great man is always willing to be little." ~ Ralph Waldo Emerson
System: Intel Core i7 920 / 12GB RAM / 2.1TB disk space / ATI Radeon HD 6870 -/- On Linux Mint 14 "Nadia" Cinnamon

altair4
Level 17
Level 17
Posts: 7946
Joined: Tue Feb 03, 2009 10:27 am

Re: Search for files in Linux Mint 14 (Cinnamon Edition)

Postby altair4 » Sat Dec 29, 2012 2:06 pm

Nick Payne wrote:I use gnome-search-tool. With it you can perform filename searches within a directory structure, and also add further options such as search for specified text in the files and by size, date, etc.

If it's not already installed:

Code: Select all

sudo apt-get install gnome-search-tool

Don't know if anyone's interested but after you do what Nick Payne suggested you might want to try this:

[1] Create a file in the nemo-scripts folder:

Code: Select all

gedit $HOME/.gnome2/nemo-scripts/Find

[2] Add this contents:

Code: Select all

#!/bin/sh
exec gnome-search-tool --hidden --contains= --path="$(echo $NEMO_SCRIPT_SELECTED_FILE_PATHS)"

I don't know if anyone else has noticed this but everything you put in code tags now induces leading spaces when you paste. Make sure all leading spaces are removed from this script.

EDIT: Left off kind of an important step: Make the file executable:

Code: Select all

chmod +x $HOME/.gnome2/nemo-scripts/Find

[3] If you have Nemo open close it and open it again.

Now go to a folder > Right Click > Scripts > Find. If I did this right it should open up gnome-search-tool to that folder so you can limit your searchs to specific folders through nemo.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

elcico
Level 1
Level 1
Posts: 1
Joined: Wed Jan 13, 2016 8:15 pm

Re: Search for files in Linux Mint 14 (Cinnamon Edition)

Postby elcico » Wed Jan 13, 2016 8:31 pm

Now (linuxmint 17) you can also use the package called tracker, that also allows text search inside files.
Namastè _/\_


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 7 guests