hdiutil attach bypass SLA / EULA

Bypass a licence agreement when mounting a DMG on the command line

Sometimes you need to bypass End User Licence – Software Licence Agreement when attaching a disc image from the command line :

googling a bit gives the answer :

source : http://superuser.com/questions/221136/bypass-a-licence-agreement-when-mounting-a-dmg-on-the-command-line

yes | hdiutil attach some_dmg_with_EULA.dmg > /dev/null

Very handy indeed

Olivier
About

Product and graphic designer turned to be a Mac SysAdmin.

Posted in Admin, Mac, tips tricks scripts Tagged with: , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>