How To Shrink Sparsebunble Image in Mac OS X

Sparsebundle, such as the image file used for Time Machine backup over network, doesn’t shrink even when the content has reduced in size.

This is how you shrink the image file to reclaim some disk space:
hdiutil compact path/to/sparsebundle

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.