Solved

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

Posted on 2012-03-13
3
1,147 Views
Last Modified: 2012-03-13
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
Comment
Question by:TarasShumylo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Author Comment

by:TarasShumylo
ID: 37713641
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
 
LVL 28

Accepted Solution

by:
jhyiesla earned 500 total points
ID: 37714463
Create your Applescript.
Compile it into a .app file

run this commend from terminal osascript "script.app"
0
 
LVL 3

Author Comment

by:TarasShumylo
ID: 37714804
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question