A disk image (DMG) is actually a file not a folder.. If you have it mounted than you can access the contents via the "/Volumes/" path.. The following link will give you information working with disk images with the command line "hdiutil" http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/hdiutil.1.html