Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.

Monitoring the Finder favorites list

I'm curious if anyone knows how I could monitor the Finder's favorites list. I was considering using a launchagent to monitor for changes of com.apple.LSSharedFileList.FavoriteItems.sfl since I've read that this is where that configuration is stored; however, in doing some simple tests of removing items and putting them back, I never see the modified time/date change. Also, I'm not familiar with launch agents enough to know if watchpaths can monitor an file in a relative directory.

Anybody familiar with this? My goal is to monitor and then detect if a particular item is removed. If so, then put it back using mysides or sfltool.

Like Comment