/ Published in: Bash

Conversión de un archivo .dmg en .iso en MacOSX. Este código forma parte del artÃculo "Crear imagen ISO con Automator"
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Comprueba que se reciba al recibe el fichero .dmg como argumento if [ -z $1 ]; then echo "No se recibieron argumentos suficientes" exit 1 fi # Obtiene el nombre del primer fichero nombre=${1%.*} hdiutil makehybrid -iso -joliet -o $nombre.iso $1 #Se elimina el archivo .dmg rm -f $1
URL: http://orlandoaleman.com/2010/01/23/crear-imagen-iso-con-automator-osx
Comments
