System Grab Bag

View all TLDR pages from Mac OS X (or from all pages)

asr

Restore (copy) a disk image onto a volume. The command name stands for Apple Software Restore. More information: https://www.unix.com/man-page/osx/8/asr/.
  • Restore a disk image to a target volume:
    sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}}
  • Erase the target volume before restoring:
    sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}} --erase
  • Skip verification after restoring:
    sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}} --noverify
  • Clone volumes without the use of an intermediate disk image:
    sudo asr restore --source {{path/to/volume_file}} --target {{path/to/volume_file}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.