Thanks super for helping! For my mdfind, I chose "-onlyin ~", so it's not searching the entire drive, just my home folder.
It's not finding any of the Keynote files. When I dropped a Keynote presentation on the FileTypes window in the workflow, it identified it as com.apple.iwork.keynote.key, but the mdls shows a Keynote files as kMDItemContentType = "com.apple.iwork.keynote.sffkey". Not sure if that has anything to do with this.
Screenshots from the file filter workflow:
Results from mdls on a file not found:
$ mdls CoQ10.key
kMDItemAlternateNames = (
"2012 CoQ10.key"
)
kMDItemAuthors = (
""
)
kMDItemComment = ""
kMDItemContentCreationDate = 2012-11-24 19:44:03 +0000
kMDItemContentModificationDate = 2012-12-06 13:39:47 +0000
kMDItemContentType = "com.apple.iwork.keynote.sffkey"
kMDItemContentTypeTree = (
"com.apple.iwork.keynote.sffkey",
"public.zip-archive",
"com.pkware.zip-archive",
"public.data",
"public.item",
"public.archive",
"public.presentation",
"public.composite-content",
"public.content"
)
kMDItemDateAdded = 2013-10-28 03:48:39 +0000
kMDItemDisplayName = "2012 CoQ10"
kMDItemFSContentChangeDate = 2012-12-06 13:39:47 +0000
kMDItemFSCreationDate = 2012-11-24 19:44:03 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 16
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 1
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "2012 CoQ10.key"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 32139118
kMDItemFSTypeCode = ""
kMDItemKind = "Keynote Presentation"
kMDItemLastUsedDate = 2014-12-30 17:12:49 +0000
kMDItemLogicalSize = 32139118
kMDItemPhysicalSize = 32141312
kMDItemTitle = ""
kMDItemUseCount = 4
kMDItemUsedDates = (
"2014-12-30 06:00:00 +0000"
)
~$