1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 21:42:08 +02:00
tldr/pages/osx/asr.md
Emily Grace Seville fda34ea2e3
osx/asr.md: make placeholders auto convertible to CLIP ones (#9859)
* Make placeholders auto convertible to CLIP ones

- https://github.com/command-line-interface-pages/prototypes/pull/32

* Fix remaining placeholder

* Update pages/osx/asr.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/osx/asr.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/osx/asr.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-02-20 14:50:10 +08:00

709 B

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}}