[MacTUG] Connect to Server favorites

Dani Roloson daroloso at uwaterloo.ca
Mon Jul 8 14:44:15 EDT 2013


According to http://reviews.cnet.com/8301-13727_7-10355803-263.html

10.5 and before


~/Library/Favorites/


10.6 and after


~/Library/Preferences/com.apple.sidebarlists.plist


in the favoriteservers dictionary.


There are separate URL and Name fields so the Name doesn't need to be the URL

so you could change the Name to "Software Depot" but you need to log out for the

change to appear.


/usr/libexec/PlistBuddy -c 'Print favoriteservers' ~/Library/Preferences/com.apple.sidebarlists.plist


(PlistBuddy is installed with Xcode.)


You can create an inetloc or afploc file on their desktop by dragging out the text from

"Connect to Server" that looks like a webloc.


If the VolName is mounted, you can make an alias on the desktop with

osascript -e 'tell application "Finder" to make alias file to alias "Macintosh HD:Volumes:VolName" at "Macintosh HD:Users:UserName:Desktop"'


I'll have to ponder the creation of an alias without it being mounted.


Dani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uwaterloo.ca/pipermail/mactug/attachments/20130708/33bcc81f/attachment.html>


More information about the MacTUG mailing list