1 #!/bin/sh 2 3 hdiutil convert ~/Drives/projects.sparsebundle -format UDSB -tgtimagekey sparse-band-size=2048 -o ~/Drives/projects-compact.sparsebundle