View Single Post
  #12  
Old 03-18-2007, 08:30 PM
klmorin klmorin is offline
Registered User
 
Join Date: Aug 2006
Posts: 28
For the skeptics, there is also this freelance version.

------------------------------
choose file with prompt "Compact this sparse disk image:" without invisibles
set diskImage to POSIX path of result
do shell script "/usr/bin/hdiutil compact " & quoted form of diskImage
display dialog diskImage & "
-- Compresssing process completed -- "
-------------------------------

It makes more user-friendly the hdiutil of Terminal and can be used when needed.

This script must be written, compiled and be saved in the same way that the precedent, but used then like any application.

Last edited by klmorin; 03-18-2007 at 08:32 PM.
Reply With Quote