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
  #9  
Old 06-03-2009, 01:25 AM
sjk's Avatar
sjk sjk is offline
Registered User
 
Join Date: May 2004
Location: Eugene
Posts: 252
Yup, much simpler than I expected …

You don't even need to use AppleScript for that; it could just be a shell script like:

Code:
#!/bin/sh

for i in 1 2 3; do
   /usr/bin/hdiutil compact "/Volumes/Drobo/backup $i.sparseimage"
done
Or even a one-liner directly in the crontab file would work.

I've recently converted regular sparse images to sparse bundles and compacting them runs much quicker so I wouldn't mind switching to doing it after every backup instead of less frequently under certain conditions. I thought your script might have some clever example for the latter, but instead it helped me realize it can be simpler now.

Thanks!
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
Smart Update: copy modified files? billzz General 1 10-12-2007 05:55 PM
Smart update user files to pre-existing bootable volume = disaster! Sondergaard General 6 04-24-2007 05:09 PM
Smart Update copying files that haven't been changed? salparadi General 3 11-05-2006 11:40 AM
Smart Update Question gbjerry General 1 06-24-2006 07:43 AM
Smart update copying all files each time fabius General 15 05-29-2005 09:29 PM


All times are GMT -4. The time now is 09:34 AM.


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