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

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 06-10-2010, 10:10 PM
n6ac n6ac is offline
Registered User
Join Date: Jun 2008
Location: Southern California
Posts: 5
Backup multiple volumes sequentially (Applescript)

-- Script by Al Cellier 2010-06-03
-- This Applescript needs YOUR folder name and needs YOUR settings files previously saved. No warranties, use at your own risk. Works for me.
-- Script will step through all files in folder "C-X" within the "Saved Settings" folder - Replace "C-X" in both places with "YOUR FOLDER"!
-- Pre-save YOUR settings files! The sequence is set by prefixing the settings filenames with 01, 02, 03 ...
-- For verification, the script displays a dialog showing the location, number of files, and filenames. When you click "OK" then it runs unattended.
-- At each file it calls on SuperDuper! to perform the backup, per the settings file

tell application "Finder"
set Settingsfolder to POSIX file "/Users/acellier/Library/Application Support/SuperDuper!/Saved Settings/C-X/" as alias
set FileList to every file in Settingsfolder
display dialog (Settingsfolder & "
" & (number of items in FileList & " items in list
") & name of items of Settingsfolder & "
Power Up the Backup Drive 'X'!") as text
repeat with i from 1 to number of items in FileList
set NamedFile to (name of item i of FileList)
tell application "SuperDuper!"
do shell script "sleep 5"
if status is idle then
run using settings ("C-X/" & NamedFile) without user interaction
end if
repeat while status is running
do shell script "sleep 6"
end repeat
if status is done then
tell application "SuperDuper!" to quit
do shell script "sleep 7"
end if
on error errMsg
display dialog "Oops! ... " & errMsg
end try
end tell
end repeat
end tell
display dialog ("Back ups All Complete !!
Dismount & Power down the backup drive 'X'")
Reply With Quote

applescript, automatic, sequence

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
alternating backup snoopy67 General 11 04-04-2009 05:14 PM
Server drive won't mount after backup rhennosy General 1 11-09-2007 03:49 PM
An (Applescript) hack to automate mounting and unmounting external volumes kbradnam General 12 07-30-2007 07:12 AM
A strategy for managing SD! jobs via AppleScript Syzygies General 15 05-01-2006 07:55 AM
Request for help with an AppleScript to run two SD SmartUpdates emikysa General 2 10-13-2005 12:10 PM

All times are GMT -4. The time now is 03:46 PM.

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