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
  #8  
Old 03-17-2007, 12:28 PM
klmorin klmorin is offline
Registered User
 
Join Date: Aug 2006
Posts: 28
Smile Eureka!

Eureka!

I do not know, Dave, if you will approve?

Here is an AppleScript which I make run by SD via the option “Run Shell after Copy complete”
We can enable the option as need or leave it always enabled.

---------------------------
tell application "Finder" to eject disk "MyBackup"
-- wait for it
repeat until (list disks) does not contain "MyBackup"
delay 2
end repeat
delay 30
set diskImage to POSIX path of "/Volumes/MyDisk/BackupFolder/MyBackup.sparseimage"
do shell script "/usr/bin/hdiutil compact " & quoted form of diskImage
----------------------------

I used AppleScript editor to write and compile this script and I saved it as application (Compact.app) in Saved Setting. Obviously, if there are several scenarios of backups, each one must have its own adapted script.
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
Restoring from sparse image catxtwo General 7 11-11-2008 03:25 PM
Ever-Growing Sparse Image File... Marco_Polo General 6 02-19-2007 10:21 AM
Testing a sparse image... macmidiguy General 5 05-14-2006 01:51 PM
not ejecting sparse image after backup rossb General 7 02-08-2006 05:20 PM
Sparse image from aborted DMG backup? Winston General 9 10-22-2005 12:28 PM


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


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