search single words

Asked by cybernoid

Since I see lots of incorrect names on my mp3 collection,
im trying to:
Search for the word "the" to remove some "the" that comes incorrectly in the name's song.
The problem is that it shows all the words that has the (theme, brothers, theory, etc etc)

How can I tell to nautilus to search for single "the" avoiding all the other words that could also have the inside?
(i already tried 'the' and /bthe/b - doesnt work)
I have more words to look, like 'a' , 'street', 'avenue', 'mister', etc etc so this could give me a lot of help.

Tks a lot.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Solved by:
SageMassa
Solved:
Last query:
Last reply:
Revision history for this message
SageMassa (jedd.bissegger) said :
#1

Give this a try where <space> use an actual space.
<space>the<space>

Revision history for this message
cybernoid (marciocastro) said :
#2

it doesnt work.
Maybe its some annoying metasearch command that could do that, i dont know...

for example, tried the word <space>the<space> i get a some kind quick response of 665 items, exactly the same as if i remove the space before and after.
(just to make sure, i tried the word "de" with/without backspace (means of in portuguese) and it happened the same. (2098 items found)

Maybe i have to say to nautilus '<Char$Backspace>$Word<Char$Backspace>' but i dont know how to do that.

But tks anyway, sagemassa

Again, any help will be very gratefull

Tks

Revision history for this message
Best SageMassa (jedd.bissegger) said :
#3

I found some examples of how the search function works in Nautilus this may give you the tools you need to filter correctly

Examples

title:Help macro

searches for help pages that contain the word "macro".

apple (computer or "operating system")

searches for pages containing the word "apple" and at least one of "computer" or "operating system".

windows winamp or linux xmms

searches for pages containing both "windows" and "winamp", and also for pages containing both "linux" and "xmms".

"is text"

Will match "this text" or "is texts". Quotes are used only to include whitespace, and do not mean "exactly this phrase".

linkto:WindowsPage title:Linux

searches for pages that have "Linux" in the page name and that link to WindowsPage

r:\bdog\b

searches for the word "dog" and does not find e.g. the word "doggy"

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 There may be several search term seperated by white space

    * Terms are combined by default with an AND operation - only pages containing all search term are returned
    * Double or single quotes may be used to include white space into search terms.

- before a search term means NOT - pages containing this term are excluded from the result

regex:TERM is treated as regular expression
title:TERM searches in pages that their titles match TERM
case:TERM searches case sensitive

   * Normal search terms do search the titles, too. Matches in titles get more weight as matches in pages.
linkto:TERM searches for links to TERM
title:, regex:, linkto: and case: may be used in combination in one search term

these modifiers may be abbreviated to any length: e. g. re:, t:, reg:, cas:, l:
- must be put before any other modifiers
or operator has a lower precedence than the implicit AND

Parentheses can be used for grouping

Revision history for this message
cybernoid (marciocastro) said :
#4

Hi, tks again.

In fact its not solved, but i found a workaround: its called "beagle"... (Unfortunatelly it does not search for "the" and "a" (means she in portuguese)... but all the other words do.

I tried everything you said, but as you probably know the grep is a bit strange for a begginer.
I think i would loose more time learning grep, etc thus installing beagle.
I found a nice terminal utility to auto-format regex stuff, but it was very difficult to me to understart. It seems that every basic-program has its own regex and, to even worse, it seems that different distros has different regex codes and even inside distros there are changes... Ufff

Again best regards, sagemassa!
Although it doesnt solve my problem, i learn a bit more of this great OS. I think if programmers come to an agreement about creating a generic base (above the kernel), linux could be even more faster and smaller. Ahhh and easy :)