snippetbashTip
asr — Restore (copy) a disk image onto a volume. The command name stands for Apple Software Restore. More
Viewed 0 times
ontocommanddiskasrcopycliimagerestore
macos
Problem
How to use the
asr command: Restore (copy) a disk image onto a volume. The command name stands for Apple Software Restore. More information: <https://keith.github.io/xcode-man-pages/asr.8.html>.Solution
asr — Restore (copy) a disk image onto a volume. The command name stands for Apple Software Restore. More information: <https://keith.github.io/xcode-man-pages/asr.8.html>.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}} --eraseSkip verification after restoring:
sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}} --noverifyClone volumes without using an intermediate disk image:
sudo asr restore --source {{path/to/volume_file}} --target {{path/to/volume_file}}Code Snippets
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}} --eraseSkip verification after restoring
sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}} --noverifyClone volumes without using an intermediate disk image
sudo asr restore --source {{path/to/volume_file}} --target {{path/to/volume_file}}Context
tldr-pages: osx/asr
Revisions (0)
No revisions yet.