If I drag .markdown and .md files into the User-defined filetypes, I'm getting the same output, letter-for-letter, and it only retains one entry (that is, I'm not seeing two markdown filetypes on the list).
The metadata output is below, but I think I'm starting to stray from the idea that this issue is filetype related. See my next reply.
/Users/dechimp/Downloads/foo.md
Internal File Metadata
======================
Display Name: foo.md
Alt Names:
File Type: net.daringfireball.markdown
Comments:
Keywords:
Last Used:
Raw mdls File Metadata
======================
kMDItemContentCreationDate = 2015-02-27 00:10:42 +0000
kMDItemContentModificationDate = 2015-02-27 00:10:42 +0000
kMDItemContentType = "net.daringfireball.markdown"
kMDItemContentTypeTree = (
"net.daringfireball.markdown",
"public.plain-text",
"public.text",
"public.data",
"public.item",
"public.content"
)
kMDItemDateAdded = 2015-04-16 12:59:00 +0000
kMDItemDisplayName = "foo.md"
kMDItemFSContentChangeDate = 2015-02-27 00:10:42 +0000
kMDItemFSCreationDate = 2015-02-27 00:10:42 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "foo.md"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 502
kMDItemFSSize = 0
kMDItemFSTypeCode = ""
kMDItemKind = "Markdown document"
kMDItemLogicalSize = 0
kMDItemPhysicalSize = 0