#/bin/sh VOLUME=`hdiutil attach -nobrowse \"$1\" | grep Volumes | cut -f 3` cp -rf \"$VOLUME$2\" /Applications hdiutil detach \"$VOLUME\"