ac is a command line utlity to help with the download of GarageBand and Logic Pro audio content files.
With ac you can easily manage Apple audio content across a fleet of Macs. Allowing you to easily download audio content to meet the needs of a given system or fleet. With ac you can get just the content you need and build repeatable deployments utilizing MDM or shell scripts!
Download the available binaries from the releases. If you don't see a build for your system. Try using the go install option.
go install github.com/w0/ac@latest
Download all the mandatory audio content files.
ac download -p ~/Path/To/logicpro1100.plist -mView available commands and built in help
ac -h
All commands require access to the bundled audio content plist. You can typically find this inside of the app bundle for GarageBand or Logic Pro. Specify it with the -p flag.
ac <command> -p /Path/To/Audio/Content/Plist
You can use ac to list out available pkg files that are mandatory or optional. This is pretty verbose and is best parse with utilities like grep or awk.
If you don't specify a filter flag all pkgs will be printed. You can also filter
ac list -p /path/to/plist.plist -m # List only the mandatory pkg files
ac list -p /path/to/plist.plist -o # List only the optional pkg filesac is also able to print the filtered pkg info in the json format
ac list -p /path/to/plist.plist -m -j
You can use the same filtering flags with list when downloading audio content pkgs.
Download a single pkg by name and save it to the desktop.
ac download -p /path/to/plist.plist -d ~/Desktop -n "GarageBand11BaseContentPackage"`
ac download -p /path/to/plist.plist -d ~/Desktop -i "com.apple.pkg.MAContent10_GarageBand6Legacy"Download multiple pkgs and save them to the current working directory.
ac download -p /path/to/plist.plist -n "GarageBand11BaseContentPackage" -n "GarageBand11ExtraContentPackage"
ac can attempt to install the downloaded content packages for you. You must run ac as root for this.
ac install -p /path/to/plist.plist -mgit clone https://github.com/w0/ac.git
cd acgo buildgo test ./audiocontentIf you'd like to contribute, please fork the repository and open a pull request.
