Finder Sidebar Links

Hi,
I have lot of users having lot of links in the Finder Sidebar.

The problem is that the Server where these links reside has changed.

Is there a way to fix the path of old links pointing to new Server without recreating the Links?

My thought is , if by any scripting we can extract the existing links & then remove all of them from Sidebar.

Once this is done, we could again use a new script to recreate those links, but with the correct location.

I don't know if this is possible, so please help..


Regards,
A
LVL 11
AcklesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

strungCommented:
The sidebar data is stored in:

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

Type the above line into the Go to Folder item in the Go menu in Finder.

Assuming you are using OS 10.4 or newer, the data is stored in binary, so you will need a plist editor to read it. There are several available:

http://osxdaily.com/2010/05/12/use-property-list-editor-to-edit-plist-files-for-free/
0
strungCommented:
An alternative to using a plist editor is to convert the plist to XML which can be edited in TextEdit or TextWrangler, then convert back to binary using this hint:

http://hints.macworld.com/article.php?story=20050430105126392

This looks like the easiest way to do what you want as you can then use a global search and replace on the XML file. Make a copy of the plist first.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.