3

I'd like to get a list of all indexed files and their path that spotlight came across. How would I do that ? mdutil does not seem to be of any help.

5

This command will list all files indexed by spotlight system:

mdfind "kMDItemDisplayName == '*'"

To store the output in a file:

mdfind "kMDItemDisplayName == '*'" > listOfFiles.txt

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .