Jump to content

How to show top level folders in iCloud/mobile documents?


Recommended Posts

Something that has been bugging me for a long time is that when I try to search for top level folders like pages or numbers in ~/Library/Mobile Documents they don't show up.

 

I have  added ~/Library/Mobile to the default results and it shows files within the folders but not the folders themselves.

 

Can anybody give me any advice on how to make them show up in my search results?'

Link to comment

See 

 

basically you need to create a workflow for each one b/c they're not really folders (example is for Scanbot, in bash):

 

open "/Users/yourusernamehere/Library/Mobile Documents/iCloud~net~doo~scanbot/Documents"

osascript -e 'tell application "Finder" to activate'

 

Link to comment
29 minutes ago, jhncbrwn said:

Can anybody give me any advice on how to make them show up in my search results?

 

Use a workflow, or search for "documents" instead of the application name, because that's what each application folder in iCloud Drive is actually called.

 

As @dfay points out, iCloud Drive > Scanbot is actually called ~/Library/Mobile Documents/iCloud~net~doo~scanbot/Documents, and that’s what the metadata indexer, and therefore Alfred, sees.

 

Alfred modifies results where appropriate to display the application name for stuff from your iCloud Drive, but it can't make the OS search engine return a folder that's actually called "Documents" for the search query "pages" to begin with.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...