mirror of
https://github.com/azenla/MacHack.git
synced 2026-02-12 16:42:45 +00:00
Add asr to commands.
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
```text
|
```text
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2019 Kenneth Endfinger
|
Copyright (c) 2020 Kenneth Endfinger
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
19
README.md
19
README.md
@@ -29,6 +29,7 @@ A list of built-in tools in macOS that you probably didn't know about.
|
|||||||
- [nscurl](#nscurl)
|
- [nscurl](#nscurl)
|
||||||
- [taskinfo](#taskinfo)
|
- [taskinfo](#taskinfo)
|
||||||
- [taskpolicy](#taskpolicy)
|
- [taskpolicy](#taskpolicy)
|
||||||
|
- [asr](#asr)
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
@@ -1638,3 +1639,21 @@ ProductName: macOS
|
|||||||
ProductVersion: 11.0
|
ProductVersion: 11.0
|
||||||
BuildVersion: 20A2411
|
BuildVersion: 20A2411
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### asr
|
||||||
|
|
||||||
|
asr stands for Apple Software Restore. It is used for copying volume content.
|
||||||
|
|
||||||
|
```text
|
||||||
|
$ asr
|
||||||
|
Usage: asr <verb> <options>
|
||||||
|
<verb> is one of the following:
|
||||||
|
asr help | version
|
||||||
|
asr restore --source <source> --target <target> [<options>]
|
||||||
|
asr restore --source asr://<host>/ --file <file> [<options>]
|
||||||
|
asr server --source <source> --config <plist> [<options>]
|
||||||
|
asr imagescan --source <source> [--filechecksum] [--nostream]
|
||||||
|
asr info --source <source> [--plist]
|
||||||
|
```
|
||||||
|
|
||||||
|
There is a [great WWDC talk](https://developer.apple.com/videos/play/wwdc2019/710/) which dives into ASR around the eleven minute mark.
|
||||||
|
|||||||
Reference in New Issue
Block a user