Avatar of TarasShumylo
TarasShumyloFlag for Ukraine asked on

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.
Mac OS XApple NetworkingShell Scripting

Avatar of undefined
Last Comment
TarasShumylo

8/22/2022 - Mon
ASKER
TarasShumylo

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.
ASKER CERTIFIED SOLUTION
jhyiesla

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
TarasShumylo

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.
Your help has saved me hundreds of hours of internet surfing.
fblack61