Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 11-25-2009, 12:50 AM
Jack Mac Jack Mac is offline
Registered User
 
Join Date: Nov 2009
Posts: 6
OK, so I'm getting closer, but I need more help.

I found a unix script that will automount and I created an AppleScript, and then set up an iCal alarm to run it just before the SD backups are scheduled. It works. This is the AppleScript:

do shell script "BDISK=`/usr/sbin/diskutil list | awk '$3==\"ARCHIVES\" {print $6}'`;/usr/sbin/diskutil mount $BDISK"

The thing I'm still struggling with is getting SD to unmount the volume after the copy. I used the unmount version of the same script in the "Run shell script after copy completes" but I got an error message. Here are the last three lines from the log:

| 12:19:21 AM | Info | ...ACTION: Running shell script Un-Mount ARCHIVES.scpt
| 12:19:21 AM | Info | ......COMMAND => Invoking After Copy shell script: /Users/~/Library/Scripts/Un-Mount ARCHIVES.scpt
| 12:19:21 AM | Error | sh: /Users/~/Library/Scripts/Un-Mount ARCHIVES.scpt: Permission denied

Any idea what I'm doing wrong? I thought the problem might be that the script I'm using has an AppleScript wrapper. If that's the case, I'm not sure how to create a standalone shell script. My limited scripting experience is all with AppleScript.

Thanks
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not locate Source volume after partition macart General 3 10-25-2011 11:35 AM
Automatic copy aborted becuase SD could not locate the Source volume named (null) cjedj General 7 09-02-2009 08:40 AM
Ok to copy to smaller destination volume if source volume isn't full? axxxxe General 7 05-25-2009 04:26 PM
bootable/copied volume is 5 GB smaller than the source -- normal? tools_for_fools General 2 10-14-2008 09:01 AM
spotlight finds files on backup but not on source volume snoopy67 General 1 07-05-2005 08:29 AM


All times are GMT -4. The time now is 06:45 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.