asr
Restore (copy) a disk image onto a volume. tldr-pages
On macOS
macOS
Restore (copy) a disk image onto a volume. The command name stands for Apple Software Restore.
Restore a disk image to a target volume
sudo asr restore --source image_file.dmg --target path/to/volume_fileIdentifyErase the target volume before restoring
sudo asr restore --source image_file.dmg --target path/to/volume_file --eraseIdentifySkip verification after restoring
sudo asr restore --source image_file.dmg --target path/to/volume_file --noverifyIdentifyClone volumes without using an intermediate disk image
sudo asr restore --source path/to/volume_file --target path/to/volume_fileIdentify