Talk About Network

Google




Programming > Applescript > Re: Applescript...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 1496 of 1697
Post > Topic >>

Re: Applescript to mount external HD

by Jerry Kindall <jerrykindall@[EMAIL PROTECTED] > Aug 18, 2007 at 08:12 AM

In article <1i2ynxm.1123k7gsm1ywcN%syochelson.nospam@[EMAIL PROTECTED]
>, S
& B <syochelson.nospam@[EMAIL PROTECTED]
> wrote:

> Is it possible to mount o dismount an external Hard Dissk? If so, how?
> 
> I usually dismount my external backup disk after startup to reduce
> desktop clutter (the HD is partitioned into many partitions). 
> 
> I would like to automatically mount one of the partitions just before a
> SuperDuper! backup job starts.
> 
> Thanks.

From a script I use for pretty much the same purpose with Retrospect
(disk is named "Backup"):

   tell application "Finder" to if not (disk "Backup" exists) then do
shell script "diskutil mount " & last word of (do shell script
"diskutil list | grep 'Apple_HFS Backup'")

Note that this all goes on one line.

-- 
Jerry Kindall, Seattle, WA                <http://www.jerrykindall.com/>

        Send only plain text messages under 32K to the Reply-To address.
        This mailbox is filtered aggressively to thwart spam and viruses.
 




 3 Posts in Topic:
Applescript to mount external HD
syochelson.nospam@[EMAIL   2007-08-16 23:05:38 
Re: Applescript to mount external HD
Jerry Kindall <jerryki  2007-08-18 08:12:00 
Re: Applescript to mount external HD
syochelson.nospam@[EMAIL   2007-08-24 14:11:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Mon Jan 5 18:42:38 PST 2009.