When you open a dmg or zip file (which we’ll refer to as an “archive” in this article), a tool called Archive Utility is opened briefly to extract the archive and then by default create a folder in the same directory the archive was located. After extracting the contents of the archive, the archive is left as-is, showing the new folder in a Finder screen. This type of workflow works for a lot of people. But not all.
This is why Apple built a Preference pane for the Archive Utility. To access, simply open Archive Utility, click the Archive Utility menu and click Preferences.
You then see the Archive Utility Preferences. Here, there are a few fields that can change the default behavior of how OS X handles archives. Each field is as follows:
The ability to control such features allows a data wrangler with a pretty well defined workflow to proceed much more quickly than would be otherwise possible according to how the person managing the data goes about their business. For example, if I know that every dmg file I get should be extracted, the contents moved to a share and then deleted, that can be the default behavior programmed and therefore I have less clicks of the mouse or steps to complete my process. Apple has, as usual, put good logical thought behind the default settings used. Therefore, be careful when changing settings.
krypted January 11th, 2013
Posted In: Mac OS X
Posted a little article on the XsanDebugged tool over at Xsanity. Thanks to Aaron for approving it. Hope you enjoy the tool!
krypted January 25th, 2010
A dmg file is a compressed file structure, capable of containing folders, files, etc. Dmg files can be used for a variety of purposes, from encrypting a home directory (ie – FileVault) to encrypting a file structure manually. A dmg file can be encrypted fairly simply. From Disk Utility, create a dmg file by clicking on the File menu and selecting New and then Blank Disk Image. This will bring up a screen where you can provide a name for your home folder and a size, then select either AES 128 or AES 256, which is a bit slower.
Go ahead and click on Create and then at the resultant password screen go ahead and provide a password to be used. And let’s just go ahead and uncheck the option to create an entry in Keychain for the password.
If you would rather do so from the command line I covered how to do so in a previous post.
Now let’s download Spartan, a tool built by Ryan Kubasiak. Now download a dictionary file. I just used one of these (and for expedience sake I paired down the contents to only have about 100 possible passwords, one of which was mine). Now go ahead and open Spartan, clicking on Go! at the splash screen.
At the Choose a File screen, browse to and then select your password file, clicking Choose once you have done so. At the next Choose a File screen browse to and then select your dmg file which you would like to crack the password for. The password file will then be read into RAM and the password cracking will commence.
According to the length of your password this could take a long, long time, but when it’s done you will have your password, assuming it was in the dictionary of passwords you used. Dictionary files can be downloaded from a variety of sources, some collections taking up gigabytes upon gigabytes of space and covering every possible keyboard combination. Therefore, the longer the password that you use and the more complex the password is, the longer it will take to break the encryption.
“So, would your holiness care to change her password?” – The Plague
krypted June 26th, 2009