#5
|
|||
|
|||
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |