Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1179
  • Last Modified:

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.
0
TarasShumylo
Asked:
TarasShumylo
  • 2
1 Solution
 
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
 
jhyieslaCommented:
Create your Applescript.
Compile it into a .app file

run this commend from terminal osascript "script.app"
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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now