11/28/2023 0 Comments TotalFinder sidebar iemsSudo defaults write /User/$loggedInUser/Library/Preferences/ -bool Updated 'Yes' PlistBuddy is jolly useful - but it's NOT cache aware.Īlso having done your stuff with PlistBuddy, add something like the following line of code. What you need to do is somehow flush the cache - fortunately that's very easy to do. The answer is: that basically it 'should work' - except that if there is a 'cached version' available, (i.e. Hi, - No as i have not tried to program this I don't have any example code to share on this.īut I do know why your code is NOT working. Is there anyone out there who has a working example on 10.13.2? Su $loggedInUser -c 'killall cfprefsd' & su $loggedInUser -c 'killall Finder' usr/libexec/PlistBuddy -c "Add :networkbrowser:CustomListProperties: bool False" /Users/$loggedInUser/Library/Preferences/ LoggedInUser=`/bin/ls -l /dev/console | /usr/bin/awk ''` # Get the Username of the currently logged user So I come up with the script below but it just does not remove the stuff from the Finder Sidebar. I must get removed the "Devices" and "Shared" sections. I compiled and checked on the mysides binary but that only seems to work on the "Favourites" section.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |