Macos – Create an alias to a samba share from the command line

aliascommand linemacososx-snow-leopardsamba

I'm currently wanting to deploy a setup to around 300 Macs. I have all of it scripted and ready to deploy, excepting that I'm having trouble creating a working alias to a samba share from the command line. I tried creating an alias, and then copying it from one Mac to another, but it loses its status as an alias, and instead OSX opens it in TextEdit (the @ in ls -l is also missing). Even if this did work, from a hexdump, it also looks like the alias has machine-specific information that may not work on another Mac.

Say that I wanted to create an alias to 'smb://server/share' on the desktop from the command line, how would I do that?

The machines run Mac OS 10.6.

Thanks.

Best Answer

I think you want mount_smbfs.

Dropbox may also be worth examining.

Related Question