Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8022449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:16:14+00:00 2026-06-04T22:16:14+00:00

I want to do a Spotlight query to find the Aperture libraries on the

  • 0

I want to do a Spotlight query to find the Aperture libraries on the local hard drives. A very simple way would be to use kMDItemKind but its value depend on the current user language:

kMDItemKind =     {
    "" = Library;
    de = "Aperture-Mediathek";
    en = "Aperture Library";
    fr = "Phototh\U00e8que Aperture";
    ja = "Aperture \U30e9\U30a4\U30d6\U30e9\U30ea";
    "zh-Hans" = "Aperture \U8d44\U6599\U5e93";
}

So how do you do a query that’s language independent?

mdfind “kMDItemKind == ‘Library'” > returns nothing

mdfind “kMDItemKind == ‘Aperture Library'” > works fine

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:16:15+00:00Added an answer on June 4, 2026 at 10:16 pm
    mdfind "kMDItemContentTypeTree==XXX"
    

    should do that, with XXX being something listed in the kMDItemContentTypeTree for Aperture Files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building an autosuggest search, like apple's spotlight... and want to disable the browser
Want use special charecters ex : (£, ¥) which not there in keyboard to
I am attempting to animate a spotlight in HTML5 canvas. What I want it
I don't want to alter the index in any way, simply read it, monitor
Want to use signal when follow() function called in UserProfile. I've written signal which
want to query below xml <courseList filedUnder=Courses> <category code=4wd title=4wd Operation> <product code=lr title=4wd
http://cssdesk.com/PgtbW I want to use as much HTML and CSS as possible and the
i would like to know how to use a custom URL with ShareThis social
want to pass a simple integer to function after finding it. Code is as
I would like to modify a Spotlight metadata attribute of a file within my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.