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

Search for files in Linux Mint 14 (Cinnamon Edition)

Postby jarble on 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.
jarble
Level 1
Level 1
 
Posts: 1
Joined: Fri Dec 28, 2012 11:39 pm

Linux Mint is funded by ads and donations.
 

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

Postby Nefter on 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.
Nefter
Level 1
Level 1
 
Posts: 2
Joined: Fri Dec 28, 2012 12:40 pm

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

Postby Nick Payne on 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
Nick Payne
Level 3
Level 3
 
Posts: 106
Joined: Sun Feb 21, 2010 8:49 pm

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

Postby 3.14159 on 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
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 altair4 on 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.
altair4
Level 16
Level 16
 
Posts: 6270
Joined: Tue Feb 03, 2009 10:27 am


Return to Newbie Questions

Who is online

Users browsing this forum: Reorx and 18 guests