#1
|
|||
|
|||
Cloning (synchronizing) with Applescript
Config:
Disk A: Boot disk Disk B: backup disk I have written an Applescript which copies my Disk A important database documents to Disk B (keeping all different daily versions of my work). I would like to clone/synchronize Disk A on Disk B, so that I can boot safely from Disk B, if needed. So, I must first copy Disk B backup folders, to disk A avoiding those folders to be erased when cloning Disk A I have written an Applescript to perform it. Then I would like this script to launch SD and make it: - Repair permissions on Disk A - Smart update Disk B from Disk A - Quit Is it possible ? How ? Thanks to help me. |
#2
|
||||
|
||||
Well, I'd probably just run your applescript using osascript as a 'before copy' script. Then, when it's done, your regular backup will continue, and can be configured to do the other parts.
You can get documentation for osascript in Termninal with: Code:
man osascript
__________________
--Dave Nanian |
#3
|
|||
|
|||
Yeah !!
Why have I not seen this before ? To simple ? Temporary blindness ? Many thanks Dave. |
#4
|
||||
|
||||
Don't know! But this is exactly the kind of thing the 'before copy' script is for -- to let you prepare things before the copy. If there are things to clean up after, you can use the 'after copy' script, too.
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cloning not working | NMBob | General | 8 | 06-13-2008 05:29 PM |
A strategy for managing SD! jobs via AppleScript | Syzygies | General | 15 | 05-01-2006 07:55 AM |
Problems automating backups with applescript and crontab | kbradnam | General | 4 | 01-20-2006 07:40 AM |
applescript help | snoopy67 | General | 1 | 09-17-2005 09:07 AM |
AppleScript bug? fixed! | pzingg | General | 1 | 11-02-2004 06:37 PM |