How to see what files spotlight is currently indexing
--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle2
--
Chapters
00:00 How To See What Files Spotlight Is Currently Indexing
00:25 Accepted Answer Score 10
00:37 Answer 2 Score 14
00:53 Thank you
--
Full question
https://superuser.com/questions/168674/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#macos #mac #osxsnowleopard #spotlight #mds
#avk47
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle2
--
Chapters
00:00 How To See What Files Spotlight Is Currently Indexing
00:25 Accepted Answer Score 10
00:37 Answer 2 Score 14
00:53 Thank you
--
Full question
https://superuser.com/questions/168674/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#macos #mac #osxsnowleopard #spotlight #mds
#avk47
ANSWER 1
Score 14
You can use the fs_usage command to see the list of files visited by the mdworker process:
sudo fs_usage -w -f filesys mdworker | egrep "open"
Hope it helps!
ACCEPTED ANSWER
Score 10
Have you tried
sudo opensnoop -p PID
where PID is the process ID of mdworker
?