How i can get path of all files, folders which has Finder comment and also the comment.
Like this: /path/here/file.txt TAB finder comment is here /path4/here2/folder TAB finder comment is here
I could first use this to find all items with comment:
mdfind kMDItemFinderComment == '*'
And then find the comments:
mdls -name kMDItemFinderComment pathhere
But is there a way to get all in single command?