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
  #4  
Old 06-09-2007, 01:08 PM
harvardslacker harvardslacker is offline
Registered User
 
Join Date: Jun 2007
Location: New York, NY
Posts: 3
Running hdiutil compact during copy script

Quote:
Originally Posted by dnanian View Post
Note that you need to do this to the image file, typically when closed, so delay a background script for 20 seconds or so...
I noticed that the 'compact' command failed whenever the disk image was mounted, so I made a shell script that unmounts the image, compacts it, and then remounts it. This seemed to work fine, but because the program indicates that before copying but after mounting the disk it does things ('preparing' it, preserving the Spotlight state, etc.), I was concerned that unmounting it after those things might cause problems, so I changed my script to just perform the 'compact' command after the backup. So far, so good... I'll post here again if after a number of repetitions some problem crops up.

Thanks,

Greg
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
Bloated Backups! Smart Update resulting in an ever increasing sparse image? Naismeth General 12 03-09-2007 11:09 AM
Error Doing Smart Update to Sparse Image fredhoysted General 5 11-04-2005 07:22 PM
Sparse image from aborted DMG backup? Winston General 9 10-22-2005 12:28 PM
smart update didn't work due to remaining space problems JohnCoffee General 1 05-08-2005 09:42 AM
How do I update an image? dnanian Frequently Asked Questions 0 06-12-2004 10:05 AM


All times are GMT -4. The time now is 10:11 AM.


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