Disk Utility restore function alternative using terminal?


i'm trying make script automate things erasing usb stick , restoring dmg file it. i've found command erase usb stick ("diskutil erasedisk jhfs+ untitled disk2"). haven't found similar restoring dmg file stick.

i'm thinking involved mounting dmg using hdiutil , using dd?

can help? thanks

ps. i've added screenshot detail i'm talking about.
 

attached files:

found it.

man asr in terminal
 


Forums Macs macOS macOS


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

OS X El Capitan on Unsupported Macs

[SOLVED] SFOTT usb key not bootable Mavericks

Fernando Torres: One of the all-time greats?