View Single Post
  #9  
Old 12-29-2010, 03:05 PM
billearl billearl is offline
Registered User
 
Join Date: Mar 2008
Posts: 20
Quote:
Originally Posted by dnanian View Post
You can write a shell script, of course, to touch a file in the 'root' of the drive that would have the date/time, but that's not an easy process...
After backing up "Boot" drive, I have SD run a shell script (named "Finish Boot.command") to run an AppleScript script (named "Finish Backup.scpt") which touches a dummy file (named "Boot Date"). The shell script is:

osascript ~/Documents/SuperDuper/Finish\ Backup.scpt Boot &

The AppleScript script is:

on run {backupDisk}
tell application "Finder"
set modification date of file ((path to documents folder as string) ¬
& "SuperDuper:" & backupDisk & " Date") to current date
end tell
(other stuff here)
end run

Another AppleScript (run at startup) reads the dummy file modification date and notifies me when it's time for the next backup. This has all proven to be extremely reliable.

Last edited by billearl; 12-29-2010 at 03:08 PM.
Reply With Quote