How to mount smb share with Shell command on Mac OS X Lion?

Hi,

I have backup utility that needs to be run on schedule on client computers. It's called Backuplist+ We make backups to network share. However when network share is not mounted backup is missed. In this utility there is the option to run shell command before backup. So I need to run shell command to mount this smb network share. It would be very good if this shell command will take password from keychain.
LVL 3
TarasShumyloAsked:
Who is Participating?
 
jhyieslaConnect With a Mentor Commented:
Create your Applescript.
Compile it into a .app file

run this commend from terminal osascript "script.app"
0
 
TarasShumyloAuthor Commented:
At least tell me how to run applescript from shell. I have the applescript that mount the drive, but I cannot run it from shell.
0
 
TarasShumyloAuthor Commented:
I didn't realized that I need not apple script, but automator application, which is not the same thing. I need to run automator application from command line.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.