Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I created a bookmark / Alias (via finder) for an smb share after mounting it. That's quite fine and working for me at it's best. It automatically mounts the smb store when acessing the alias and I can browse into the share without huddle.

But: Other users are not very familar with it and would be pleased to get such a link pre-installed. The problem is, that my bookmark automatically contains personal information (username in SMB:// URI and in some cases personalized path names for the share.

I'm not able to edit this (binary) mac bookmark file in vim and it includes lots of unreadable information.

The question is: Is there any tool that will allow editing such a Mac System Alias (Bookmark) file so I can create presets for other users? You aren't able to edit this in Finder natively nor through any text editor.

share|improve this question
    
found that AliasManager Ref from Apple which shows up many of the system APIs are deprecated in 10.8 ;/ So, perhaps there is a tool for 10.7? –  childno.de Feb 20 '13 at 7:34
add comment

1 Answer

Rather than attempting to edit an alias directly, you could look at making a tool that creates the alias for the user.

Using Automator you could create an application that uses the following built in actions:

  1. Ask for Text
  2. Connect to Servers
  3. New Aliases

And when the app is run, the following would happen:

  1. The user would be asked for the server address (you could pre-populate a default answer for this).
  2. The share point would be mounted. A dialog would pop up asking for the users login credentials, which could then be stored in the keychain (more secure than having these details contained within the tool itself).
  3. An alias would be created at a specified location, e.g. the Desktop.

You would then save this as an application and share it with your users.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.