Skip to main content
Jamf Nation, hosted by Jamf, is a dynamic and knowledgeable community of Apple-focused IT admins and Jamf Pro users. Join us in person, in October, for the annual Jamf Nation User Conference (JNUC) to discover new and better ways to manage Apple devices.
CCA Badge

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