Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Spotlight keyword to find webarchive files Apps
In Lion's Spotlight, type kind:web and Spotlight returns webarchive files. Type kind:webarchive, however, and Spotlight does not return any files.

This behavior happens in Lion and Snow Leopard. I have not tested previous Mac OS X versions.

[kirkmc adds: Yes, this is what happens. Oddly, webarchives aren't listed in Apple's Help entry on Spotlight keywords, and, in this hint from 2007, based on a blog post of mine, it's not present either. I've written a fair amount about Spotlight for Macworld (notably this 2008 article which features a long list of such keywords), and never mentioned webarchives.]
    •    
  • Currently 3.67 / 5
  You rated: 5 / 5 (6 votes cast)
 
[3,464 views]  

Spotlight keyword to find webarchive files | 3 comments | Create New Account
Click here to return to the 'Spotlight keyword to find webarchive files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Spotlight keyword to find webarchive files
Authored by: jediknil on Jun 14, '12 07:38:15AM

"Kind" uses the localized kind for the file as displayed in the Inspector / Get Info window. Use kind:"web archive" and it works.



[ Reply to This | # ]
Web archive, not webarchive
Authored by: lullabud on Jun 14, '12 10:39:42AM
Get Info on the file and you'll see the Kind listed as "Web archive" with a space. Use the space in spotlight and it works.
$ mdls -name kMDItemKind test.webarchive 
kMDItemKind = "Web archive"
$ mdfind 'kMDItemKind == "Web archive"'
/Users/dho/Desktop/test.webarchive


[ Reply to This | # ]
Web archive, not webarchive
Authored by: kirkmc on Jun 21, '12 01:04:37AM

I would say that using "web" is a bit easier.

---
Mac OS X Hints editor - Macworld senior contributor
http://www.mcelhearn.com



[ Reply to This | # ]