Skip to main content

Thread: how do you search for two names in one label using the search app?


hi,

how search label contains 2 different texts in 1 label?

want use search app ( think wrote gnome, i'm using xfce 12.04, works in xfce ), don't want use terminal grep, search app quicker.

other words, if want find label contains "a", can put "a" ( without quotes ) "name contains" field box, , works, likewise can put "b" field box , works, put field box search label contains both "a" , "b" ?

~also, how clear list of searched items?

i don't know answer question, can elaborate on terminal way of doing that:
think meant find not grep, grep used file contents, find file properties.

search app uses locate backend. locate searches in database refreshed daily , results instantaneous.
code:
locate 'phrase'
locate supports regexes
code:
locate -r 'a.*b'
additional -b if name matched (without path)
locate --help more info.
if files interested in not indexed yet (are newer last database update), can force update with
code:
sudo updatedb
, try again


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [xubuntu] how do you search for two names in one label using the search app?


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues