Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > spotlight, hidden features...

spotlight, hidden features...
Thread Tools
Senior User
Join Date: Aug 2002
Status: Offline
Reply With Quote
Apr 24, 2005, 10:02 PM
 
you can type in kind:x

x = images for jpg, psd, gif, png, etc
x = audio for mp3, m4a, aac, wav, aiff, etc
x = document for .doc, .txt etc

you can also do

date:x

x = yesterday
x = today

there's more, can somebody please post a complete list of keywords you can use in spotlight to further refine searches?
     
CKr
Junior Member
Join Date: Jan 2004
Status: Offline
Reply With Quote
Apr 24, 2005, 10:53 PM
 
kind:email
     
Forum Regular
Join Date: Jun 2001
Status: Offline
Reply With Quote
Apr 24, 2005, 11:08 PM
 
kind: pron
     
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Apr 24, 2005, 11:29 PM
 
where: ?
     
Grizzled Veteran
Join Date: Jun 2001
Location: Good question...
Status: Offline
Reply With Quote
Apr 25, 2005, 12:43 AM
 
You type this in Spotlight?
     
Mac Enthusiast
Join Date: Apr 2000
Location: Belgium
Status: Offline
Reply With Quote
Apr 25, 2005, 09:19 AM
 
Note that you have to enter this query in your system's preferred language. So if you have Dutch set as your main language you would have to enter 'soort:afbeeldingen' instead of 'kind:images'. Also works when entered in Finder's search box.
PowerMac G4 400MHz/832MB/60GB
AlBook G4 15" 1.25GHz/1.5GB/60GB
Athlon 64 3500+/Asus A8N-SLI Premium/2GB RAM/990GB HD/GF7800GT 512
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Apr 25, 2005, 12:16 PM
 
Originally Posted by Evinyatar
'soort:afbeeldingen'
Dear God.
     
Professional Poster
Join Date: Nov 2004
Location: Belgium
Status: Offline
Reply With Quote
Apr 25, 2005, 12:30 PM
 
Originally Posted by Mithras
Dear God.
What?

iMac 20" C2D 2.16 | Acer Aspire One | Flickr
     
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Apr 26, 2005, 01:26 PM
 
Can you do 'Kind:excel' or 'kind: word'?
     
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Apr 26, 2005, 01:31 PM
 
How about 'when: last week'?
     
Mac Enthusiast
Join Date: Nov 2002
Location: Atlanta, GA
Status: Offline
Reply With Quote
Apr 26, 2005, 02:53 PM
 
Very cool find.

I think over time we'll see a TON of these type of search strings added to spotlight to make it even more functional. Heck, it may be extensible where we can change it ourselves. Looking forward to finding these things out.
     
Grizzled Veteran
Join Date: Apr 2004
Location: Nagoya, Japan • 日本 名古屋市
Status: Offline
Reply With Quote
Apr 26, 2005, 07:16 PM
 
Originally Posted by Evinyatar
Note that you have to enter this query in your system's preferred language. So if you have Dutch set as your main language you would have to enter 'soort:afbeeldingen' instead of 'kind:images'. Also works when entered in Finder's search box.
That's interesting. I can see Apple evolving Spotlight into a powerful natural-language search tool. It's going to take a lot of ingenuity and testing to make this usable and intuitive for any computer user, but if anyone can do it, it's Apple.

Although programmer types might not like the idea of a language-dependant syntax, I think the idea of typing these keywords in your native language is pretty cool. Ultimately, though, you'd probably want to find a way to do it without keywords at all, since that's still a usability hurdle. A French speaker should just be able to type something like "fichiers images cette semaine fleurs" to see all his latest files and images that are related to flowers.
     
Mac Elite
Join Date: Mar 2005
Location: LV-426
Status: Offline
Reply With Quote
Apr 26, 2005, 07:36 PM
 
Originally Posted by Evinyatar
Note that you have to enter this query in your system's preferred language. So if you have Dutch set as your main language you would have to enter 'soort:afbeeldingen' instead of 'kind:images'. Also works when entered in Finder's search box.
Spanish 'clase:imgenes'

etctera

“Building Better Worlds”
     
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Apr 26, 2005, 08:57 PM
 
Can someone clarify exactly what keywords are allowed in addition to 'Kind:' and 'Date:'? Also, can one use phrases with 'Date:', as in 'Date: this week'? Can one use application names with 'Kind:', for instance 'Kind:excel'?

thanks,
kman
     
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Reply With Quote
Apr 26, 2005, 09:22 PM
 
Originally Posted by Evinyatar
Nsoort:afbeeldingen'
Bless you! Handkerchief?

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Apr 28, 2005, 10:47 AM
 
Originally Posted by kman42
Can someone clarify exactly what keywords are allowed in addition to 'Kind:' and 'Date:'? Also, can one use phrases with 'Date:', as in 'Date: this week'? Can one use application names with 'Kind:', for instance 'Kind:excel'?

thanks,
kman
Can someone answer this?
     
Mac Elite
Join Date: Jul 2001
Location: Switzerland
Status: Offline
Reply With Quote
Apr 28, 2005, 11:06 AM
 
Originally Posted by chris v
Bless you! Handkerchief?
MBP 15" 2.33GHz C2D 3GB 2*23" ACD
     
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Apr 28, 2005, 11:13 AM
 
Originally Posted by kman42
Can someone clarify exactly what keywords are allowed in addition to 'Kind:' and 'Date:'? Also, can one use phrases with 'Date:', as in 'Date: this week'? Can one use application names with 'Kind:', for instance 'Kind:excel'?

thanks,
kman
You can probably do something like Kind:.doc or Extension:.xls or something. You can do it with the current find tool in Panther I don't see why they'd take that out of Tiger.
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Apr 28, 2005, 11:25 AM
 
Yeah, for one particular document type I think it's easier just to type .xls as your search.
The kind: <foo> is for including a bunch of different types (.jpg + .png + .tiff etc.)
     
Addicted to MacNN
Join Date: Jul 2001
Location: Behind the dryer, looking for a matching sock
Status: Offline
Reply With Quote
Apr 28, 2005, 11:32 AM
 
Tiger KP'd while Spotlight was indexing my Powerbook. How do I know that it will continue indexing where it left off before the KP? Is there a way to run the indexing function again?
     
Mac Elite
Join Date: Nov 2001
Status: Offline
Reply With Quote
Apr 28, 2005, 01:03 PM
 
Originally Posted by xi_hyperon
Tiger KP'd while Spotlight was indexing my Powerbook. How do I know that it will continue indexing where it left off before the KP? Is there a way to run the indexing function again?
It will pick up automatically. If not, and you want to do a clean index, you'd use mdutil from the command line. For example:

sudo mdutil -E /Volumes/DriveName

Would erase and rebuild the Spotlight index for the drive that showed up as DriveName on the desktop. If you have Macintosh HD as the name you'd need to use quotes:

sudo mdutil -E "/Volumes/Macintosh HD"

Takes a couple hours, probably.
     
Addicted to MacNN
Join Date: Jul 2001
Location: Behind the dryer, looking for a matching sock
Status: Offline
Reply With Quote
Apr 28, 2005, 03:40 PM
 
Originally Posted by CatOne
It will pick up automatically. If not, and you want to do a clean index, you'd use mdutil from the command line. For example:

sudo mdutil -E /Volumes/DriveName

Would erase and rebuild the Spotlight index for the drive that showed up as DriveName on the desktop. If you have Macintosh HD as the name you'd need to use quotes:

sudo mdutil -E "/Volumes/Macintosh HD"

Takes a couple hours, probably.
Thanks!
     
Fresh-Faced Recruit
Join Date: Apr 2005
Status: Offline
Reply With Quote
Apr 28, 2005, 04:34 PM
 
So am I completely buggered if i get the following result when running mdutil -i:

anas:~ root# mdutil -i on "/Volumes/tigger"
/Volumes/tigger:
Could not set indexing status for volume.

and mdutil -p produces:

anas:~ root# mdutil -p "/Volumes/tigger"
/Volumes/tigger:
Index not published, error -1
     
Senior User
Join Date: Mar 2002
Location: CT
Status: Offline
Reply With Quote
Apr 28, 2005, 04:47 PM
 
A lot of people want a easy way to add metadata to files, well I kind of developed a easy enough way. Using the new "Spotlight Commnets" field (its just the normal coments field with a new blue UI). Of course trying to type in the same thing in; for example if you wanted to mark 50 files urgent would be crazy - enter Automater and its "add spotlight comment" action. Just create a Workflow using just that action and enter your term "Urgent" and have the "Append to coments" box checked. Then save it out as a app, put it in the dock in the finder sidebar or toolbar and just drag and drop your files onto it, and there you go. Want a quick way to erase those commnets? just make the same type of workflow and leave the field blank and uncheck "Append..." it will delete anything in the commnets field.

Of course things get a little complicated if you want to be able to clear just certain things out of the commnets field.
     
cla
Mac Enthusiast
Join Date: Mar 2000
Status: Offline
Reply With Quote
Apr 28, 2005, 09:36 PM
 
Never seen this before:
Change the alert volume:
Option-drag the sound volume slider in the menu bar
Koohl!

Anyway, this is a Spotlight thread: it surprises me that I can't create a smart folder from a Spotlight-search, especially when the Finder method of defining a smart folder strongly resembles the concept of Spotlight-search.

Or am I missing something?

Nevertheless, impression so far: Tiger finally took Mac OS X to status of state of the art.
I'm impressed. Really impressed - and that's a lot coming from a Mac OS 9 fan of spatialness...
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Apr 29, 2005, 02:37 AM
 
Can you also use something like
microsoft parent:preferences
to find all MS preference files in /Library/Preferences or ~/Library/Preferences ?
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Apr 29, 2005, 03:26 AM
 
Not only does the search "microsoft parent:preferences" not turn up only Microsoft preference files, its results seem completely arbitrary.
/Developer/SDKs/MacOSX10.4.0.sdk/usr/include/wx-2.5/wx/defs.h
/Users/chuck/Downloads/eclipse/readme/readme_eclipse.html
/Users/chuck/Downloads/eclipse/plugins/org.eclipse.pde.build_3.0.1/feature/rootfiles/readme/readme_eclipse.html
/Users/chuck/Marathon Infinity/MML.html
/Applications/Adobe InDesign CS/InDesign CS ReadMe.pdf
/Applications/Adobe Photoshop CS/Scripting Guide/JavaScript Reference Guide.pdf
/Applications/Adobe Photoshop CS/Scripting Guide/Photoshop Scripting Guide.pdf
/Applications/Adobe Photoshop CS/Scripting Guide/VisualBasic Reference Guide.pdf
/Applications (Mac OS 9)/QuarkXPress 5.0/Documents/ReadMe.pdf
/Applications (Mac OS 9)/QuarkXPress 5.0/Tech Support/Troubleshooting Guide.pdf
/Applications (Mac OS 9)/QuarkXPress 5.0/Documents/Guides to QuarkXPress/Interface Overview.pdf
/Applications (Mac OS 9)/QuarkXPress 5.0/Documents/Guides to QuarkXPress/Using QuarkXPress.pdf
/Applications (Mac OS 9)/QuarkXPress 5.0/Documents/avenue.quark Documentation/Guide to avenue.quark.pdf
/Users/chuck/ChuckExtended/old chuck/Learning C/Programming/Introduction to MPW/Introduction to MPW
Huh?
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Mac Elite
Join Date: May 2004
Location: on 650 cc's
Status: Offline
Reply With Quote
Apr 29, 2005, 03:46 AM
 
Maybe the word Microsift is in those files somewhere, and that is why they are displayed as results of the search... maybe you have to change the search parameters to find those preferences.

stuffing feathers up your b*tt doesn't make you a chicken.
     
Professional Poster
Join Date: Nov 2004
Location: Belgium
Status: Offline
Reply With Quote
Apr 29, 2005, 03:53 AM
 
Originally Posted by Chuckit
Not only does the search "microsoft parentreferences" not turn up only Microsoft preference files, its results seem completely arbitrary.

Huh?
Those results probably all contain "parent" or "preferences".

iMac 20" C2D 2.16 | Acer Aspire One | Flickr
     
JLL
Professional Poster
Join Date: Apr 1999
Location: Copenhagen, Denmark
Status: Offline
Reply With Quote
Apr 29, 2005, 04:02 AM
 
Originally Posted by cla
Never seen this before:


Koohl!
Also possible in Panther.
JLL

- My opinions may have changed, but not the fact that I am right.
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Apr 29, 2005, 04:26 AM
 
OK, so basically 'parent:' can not be used as a search key?

note to brain: write feature request to http://www.apple.com/macosx/feedback
     
Mac Enthusiast
Join Date: Oct 2000
Location: Between heaven and hell
Status: Offline
Reply With Quote
Aug 29, 2005, 12:56 PM
 
I am personally starting to really hate spotlight. It finds only some things. I have a file called iBook.txt. I do a spotlight search for iBook and I get just some random junk. Than I manually locate the file, while keeping the spotlight window open, now I redo the search and the file is now found!

Pisses the hell out of me!

Spotlight has been terrible. I have so many things like this. Is there anyway to re-index the entire drive?

Yes, I know I could buy a PC, but why?
     
Banned
Join Date: Jun 2003
Status: Offline
Reply With Quote
Aug 29, 2005, 01:08 PM
 
Originally Posted by Chris Grande
A lot of people want a easy way to add metadata to files, well I kind of developed a easy enough way. Using the new "Spotlight Commnets" field (its just the normal coments field with a new blue UI). Of course trying to type in the same thing in; for example if you wanted to mark 50 files urgent would be crazy - enter Automater and its "add spotlight comment" action. Just create a Workflow using just that action and enter your term "Urgent" and have the "Append to coments" box checked. Then save it out as a app, put it in the dock in the finder sidebar or toolbar and just drag and drop your files onto it, and there you go. Want a quick way to erase those commnets? just make the same type of workflow and leave the field blank and uncheck "Append..." it will delete anything in the commnets field.

Of course things get a little complicated if you want to be able to clear just certain things out of the commnets field.
I'm guessing Leopard will finally give Spotlight it's due respect.

An revamp of the Open/Save is probably coming. An Open dialog that makes use of intelligent and often used filters to find the file you need quickly would be great. A Save dialog that would at the bare minimum allow one or two user-controlled tags ('Project Name' to group files by project or 'Keyword' or Spotlight comment) as well as other app-specific tags (up to the developer of said app to decide what other tags should be user-controlled).

The Finder also needs to either shape up or be replaced by some super-charged Spotlight window that would allow you to group or find any file really fast.
     
Mac Elite
Join Date: Nov 2001
Status: Offline
Reply With Quote
Aug 29, 2005, 08:25 PM
 
Originally Posted by Anand
I am personally starting to really hate spotlight. It finds only some things. I have a file called iBook.txt. I do a spotlight search for iBook and I get just some random junk. Than I manually locate the file, while keeping the spotlight window open, now I redo the search and the file is now found!

Pisses the hell out of me!

Spotlight has been terrible. I have so many things like this. Is there anyway to re-index the entire drive?

Yeah. See my message about it, in this very thread.

Geez, talk about blind.

     
Addicted to MacNN
Join Date: Oct 2001
Location: Automatic
Status: Offline
Reply With Quote
Aug 30, 2005, 04:40 AM
 
Originally Posted by Weyland-Yutani
Spanish 'clase:im�genes'

etc�tera
liked this one: 'clase:mensajes de correo'


"That plane's dustin' crops where there ain't no crops."
     
Addicted to MacNN
Join Date: Oct 2001
Location: Automatic
Status: Offline
Reply With Quote
Aug 30, 2005, 05:20 AM
 
another one, add a prefix to do a better search:

u2 kind:audio


"That plane's dustin' crops where there ain't no crops."
     
Dedicated MacNNer
Join Date: Mar 2001
Location: Indianapolis, IN USA
Status: Offline
Reply With Quote
Aug 30, 2005, 07:56 AM
 
To force Spotlight to re-index your drive, first drag the drive to the privacy box in System Preferences which will delete the index and then remove the drive from privacy. If you open the Spotlight box (with Cmd + spacebar) you'll see "indexing".
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:28 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2