Jump to content

Why is it that a file filter for iCloud Numbers files doesn't return results


Recommended Posts

I have this workflow. It searches Numbers files I have. I keep these files in iCloud inside Numbers directory (default).

 

1019328437_2019-01-26at14_28.png.9b3fb1f529e534486737045b9af8b18f.png

 

I then have the file filter search this directory (add it to search scope):

 

1210564713_2019-01-26at14_29.png.5cdf21f2a54c98d1ba288be04756b774.png

 

And yet searching the file returns nothing:

 

1376970752_2019-01-26at14_29.png.58f75993736c104f10b5953e561d6fd5.png

 

Is this expected? What can I do to get around this?

Link to comment

@nikivi Works for me, both with the search scope set to iCloud only, and with the search scope cleared to find the files elsewhere on my Mac as well.

 

Screen Shot 2019-01-27 at 11.19.51.png

 

Check the state of the metadata for those files, and make sure you've got iCloud's "Optimised Storage" disabled, as the files won't actually be stored on your Mac if that feature is enabled.

 

Disabling Optimised Storage:

https://support.apple.com/en-us/HT207236 

 

Metadata tool to check what metadata is provided on those files:

https://cachefly.alfredapp.com/tools/AlfredMetadataTool_v1.1.zip

 

Cheers,
Vero

Link to comment

Thank you @Vero for the reply.


I don't have optimized storage turned on. The metadata for the file is:

 

/Users/nikivi/Library/Mobile Documents/com~apple~Numbers/Documents/LA costs.numbers
Internal File Metadata
======================
 Display Name: LA costs
    Alt Names: LA costs.numbers
    File Type: com.apple.iwork.numbers.sffnumbers
     Comments: 
     Keywords: 
    Last Used: 2019-01-26 13:02:13 +0000
Raw mdls File Metadata
======================
_kMDItemDisplayNameWithExtensions  = "LA costs.numbers"
com_apple_iwork_SheetNames         = (
    2019
)
com_apple_iwork_TableNames         = (
    "Learn Anything Costs 2019"
)
kMDItemAlternateNames              = (
    "LA costs.numbers"
)
kMDItemContentCreationDate         = 2019-01-26 09:58:04 +0000
kMDItemContentCreationDate_Ranking = 2019-01-26 00:00:00 +0000
kMDItemContentModificationDate     = 2019-01-26 13:02:13 +0000
kMDItemContentType                 = "com.apple.iwork.numbers.sffnumbers"
kMDItemContentTypeTree             = (
    "com.apple.iwork.numbers.sffnumbers",
    "public.data",
    "public.composite-content",
    "public.archive",
    "public.item",
    "public.content",
    "public.spreadsheet",
    "public.zip-archive",
    "com.apple.iwork.numbers.sffnumbers",
    "com.pkware.zip-archive"
)
kMDItemDateAdded                   = 2019-01-26 13:28:48 +0000
kMDItemDateAdded_Ranking           = 2019-01-26 00:00:00 +0000
kMDItemDisplayName                 = "LA costs"
kMDItemFonts                       = (
    Helvetica,
    "HelveticaNeue-Bold",
    HelveticaNeue
)
kMDItemFSContentChangeDate         = 2019-01-26 13:02:13 +0000
kMDItemFSCreationDate              = 2019-01-26 09:58:04 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 16
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "LA costs.numbers"
kMDItemFSNodeCount                 = (null)
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 144904
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2019-01-26 00:00:00 +0000
kMDItemKind                        = "Numbers Spreadsheet"
kMDItemLastUsedDate                = 2019-01-26 13:02:13 +0000
kMDItemLastUsedDate_Ranking        = 2019-01-26 00:00:00 +0000
kMDItemLogicalSize                 = 144904
kMDItemPhysicalSize                = 200704
kMDItemUseCount                    = 2
kMDItemUsedDates                   = (
    "2019-01-25 23:00:00 +0000"
)
kMDItemUserModifiedDate            = (
    "2019-01-26 13:02:13 +0000"
)
kMDItemUserModifiedUserHandle      = (
    501
)



Which looking at com.apple.iwork.numbers.sffnumbers seems correct.

Not sure what is wrong. Perhaps its related to this issue I still couldn't fix
 

 

Link to comment

@nikivi It's hard to say whether it's still related to that previous issue you were/are having, as it's not something I've seen from anyone else. Can Spotlight find the files?

 

Given how specific your path is, you could always remove the file types from the basic setup, as I'd imagine the Numbers app folder will only contain Numbers files. 

 

Cheers,
Vero

Link to comment
  • 2 weeks later...

I also have a similar issue where Numbers files aren't shown in Alfred file search.  I have several Numbers files in iCloud Drive and an Alfred file search will show some of them but not others.  All files are present on the local disk and the metadata looks OK.  What further information can I provide to help you look into this?

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...