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.