md... Command line tool to see the metadata in files

Years ago I set up some nifty Hazel move rules which use some metadata from the files to detrimene where the files come from. To set up _new_ rules I need to inspect the metadata. - I remember I used a Spotlight CLI tool to list them. It was called md... - What is the exact name of this tool?
Many thanks,
Leo
Many thanks,
Leo