The scripts within this project are to support various useful operations on a system running MacOS.
- Warnings
- Getting Started
- Prerequisites
- Setup
- Scripts
- Deployment
- Dependencies
- Notes
- Test Environments
- Contributing
- Support
- Versioning
- Authors
- Copyright
- License
- Acknowledgments
Executing Imaging scripts may destroy data! | ||
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Utility-Scripts exist at the same directory path
In order to use the scripts within this package, you will need to clone, or download, the Utility-Scripts repository into the same top-level directory path.
/path/to/Utility-Scripts
/path/to/MacOS-Scripts
A script to execute a command as the administrator.
Usage
[bash] ./run_as_admin.sh [auto_skip] <cmd>
Options
Option Flag | Description |
---|---|
N/A | N/A |
Parameters
Parameter | Description |
---|---|
Automated Skip | Continue without prompting |
Command | Command to run |
Examples
- ./run_as_admin.sh "pwd"
- ./run_as_admin.sh "auto_skip" "pwd"
A script to execute a command as a specific user.
Usage
[bash] ./run_as_user.sh [auto_skip] <user> <cmd>
Options
Option Flag | Description |
---|---|
N/A | N/A |
Parameters
Parameter | Description |
---|---|
Automated Skip | Continue without prompting |
User | User to run the command as |
Command | Command to run |
Examples
- ./run_as_user.sh "user" "pwd"
- ./run_as_user.sh "auto_skip" "user" "pwd"
A script to list all available drives.
Usage
[bash] ./list_drives.sh [auto_skip]
Options
Option Flag | Description |
---|---|
N/A | N/A |
Parameters
Parameter | Description |
---|---|
Automated Skip | Continue without prompting |
Examples
- ./list_drives.sh
- ./list_drives.sh "auto_skip"
A script to burn an ISO image onto a chosen drive.
Usage
[bash] ./burn_iso_to_drive.sh [auto_skip] <iso_file> <drive_id>
Options
Option Flag | Description |
---|---|
N/A | N/A |
Parameters
Parameter | Description |
---|---|
Automated Skip | Continue without prompting |
ISO File | ISO image to burn to the drive |
Drive ID | Drive ID to burn the ISO image onto |
Examples
- ./burn_iso_to_drive.sh "~/Documents/test_iso.iso" "da3"
- ./burn_iso_to_drive.sh "auto_skip" "~/Documents/test_iso.iso" "da3"
Drives Tested
Status | Component |
---|---|
✅ | Sandisk Ultra USB 2.0 Flash Drive (32GB) |
✅ | Sandisk Ultra USB 3.0 Flash Drive (32GB) |
This section provides additional notes about how to deploy this on a live system.
- Utility-Scripts - A collection of utility scripts.
This project does not contain any additional notes at this time.
Status | System |
---|---|
✅ | MacOS 11.2.x |
✅ | MacOS 11.1.x |
✅ | MacOS 11.0.x |
Status | Component |
---|---|
✅ | MacBook Pro (15-inch, 2018) |
Please read CODE_OF_CONDUCT for details on our Code of Conduct and CONTRIBUTING for details on the process for submitting pull requests.
Please read SUPPORT for details on how to request support from the team. For any security concerns, please read SECURITY for our related process.
We use Semantic Versioning for versioning. For available releases, please see the available tags or look through our Release Notes. For extensive documentation of changes between releases, please see the Changelog.
- Jack Thorp - Initial work - jhthorp
See also the list of contributors who participated in this project.
Copyright © 2020 - 2021, Jack Thorp and associated contributors.
This project is licensed under the GNU General Public License - see the LICENSE for details.
- N/A