Skip to content

zdelv/macos-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Mac OS Scripts

Repo for various Mac OS scripts

flashdevice

Script for flashing a device given a DMG and the block address (dev) Only images to an APFS drive, cannot create an HFS+ drive.

See --help for more information

flashdevice.sh -d PATH --dev PATH [OPTIONS]

Drive flashing utility. Given the path to a DMG and dev path to a drive, flash the drive using ASR.

 Required:
  -d, --dmg         Path to DMG
  --dev, --drive    Path to drive for imaging (/dev/disk2 etc)

 Options:
  -h, --help        Display this help and exit
  -v, --verbose     Enable verbose output
  --noverify        Do not verify before restoring (just run the script)

Documentation can be found at: https://zdelvecch.io/notes/work/flashdevice.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages