Fork me on GitHub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
manipulate_disk_images_with_hdiutil [2012/05/21 03:56]
henri [Manipulation Tips for Disk Images]
manipulate_disk_images_with_hdiutil [2012/05/22 23:04]
henri [Helpful Links]
Line 10: Line 10:
 The command below will provide you with the size of a disk image in GB on Mac OS X. The command below will provide you with the size of a disk image in GB on Mac OS X.
  
-    bytes=`hdiutil resize -limits /​path/​to/​my.sparsebundle | tail -n1 | awk '​{print $2}'` ; echo "​$bytes * 512 / 1024 / 1024 / 1024" | bc | tr ' \n' ' ' ; echo "​Gigabytes""+    bytes=`hdiutil resize -limits /​path/​to/​my.sparsebundle | tail -n1 | awk '​{print $2}'` ; echo "​$bytes * 512 / 1024 / 1024 / 1024" | bc | tr ' \n' ' ' ; echo "​Gigabytes"​
  
 \\ \\  \\ \\ 
Line 53: Line 53:
   * [[http://​developer.apple.com/​library/​mac/#​documentation/​Darwin/​Reference/​ManPages/​man1/​hdiutil.1.html|hdiutil man page]]   * [[http://​developer.apple.com/​library/​mac/#​documentation/​Darwin/​Reference/​ManPages/​man1/​hdiutil.1.html|hdiutil man page]]
   * [[Encrypted backups]] (LBackup documentation)   * [[Encrypted backups]] (LBackup documentation)
 +  * [[http://​www.lbackup.org/​encrypted_backups#​create_a_sparse_encrypted_disk_image|Creating disk image]] (using terminal to generate an encrypted disk image on Mac OS X)
  
 \\ \\  \\ \\