./brigadier -h
Usage: brigadier [options]
Options:
-h, --help show this help message and exit
-m MODEL, --model=MODEL
System model identifier to use (otherwise this
machine's model is used). This can be specified
multiple times to download multiple models in a single
run.
-i, --install After the installer is downloaded, perform the install
automatically. Can be used on Windows only.
-o OUTPUT_DIR, --output-dir=OUTPUT_DIR
Base path where the installer files will be extracted
into a folder named after the product, ie.
'BootCamp-041-1234'. Uses the current directory if
this option is omitted.
-k, --keep-files Keep the files that were downloaded/extracted. Useful
only with the '--install' option on Windows.
-p PRODUCT_ID, --product-id=PRODUCT_ID
Specify an exact product ID to download (ie.
'031-0787'), currently useful only for cases where a
model has multiple BootCamp ESDs available and is not
downloading the desired version according to the post
date.
-rMBP:brigadier-master MyName$ ./brigadier -m iMac17,1 -o Bootcamp-iMac17.1
Using Mac model: iMac17,1.
Model supported in package distribution file at http://swcdn.apple.com/content/downloads/08/53/031-13951/0azyj3l0sl4tkq4p874eibr rbokomwt6qw/031-13951.English.dist.
Distribution 031-13951 supports the following models: iMac16,1, iMac16,2, iMac17,1.
Making directory Bootcamp-iMac17.1/BootCamp-031-13951..
Fetching Boot Camp product at URL http://swcdn.apple.com/content/downloads/08/53/031-13951/0azyj3l0sl4tkq4p874eibr rbokomwt6qw/BootCampESD.pkg.
100.0% 673644544 / 673639138 bytes
Expanding flat package...
Extracting Payload...
Extracted to Bootcamp-iMac17.1/BootCamp-031-13951/WindowsSupport.dmg.
Done.
-rMBP:brigadier-master MyName$ cd /Volumes/Boot\ Camp/
-rMBP:Boot Camp MyName$ ls
$WinPEDriver$ AutoUnattend.xml BootCamp
-rMBP:Boot Camp MyName$ cd BootCamp/
-rMBP:BootCamp MyName$ ls
BootCamp.xml Drivers Setup.exe
-rMBP:BootCamp MyName$ cd Drivers/
-rMBP:Drivers MyName$ cd Apple/
-rMBP:Apple MyName$ ls -l
total 56516
-rwxr-xr-x 1 MyName staff 1271976 Oct 12 20:40 AppleCamera64.exe
-rwxr-xr-x 1 MyName staff 2383864 Oct 12 20:40 AppleDisplayInstaller64.exe
-rwxr-xr-x 1 MyName staff 2053824 Oct 12 20:40 AppleKeyboardInstaller64.exe
-rwxr-xr-x 1 MyName staff 2059112 Oct 12 20:40 AppleMultiTouchTrackPadInstaller64.exe
-rwxr-xr-x 1 MyName staff 2065240 Oct 12 20:40 AppleMultiTouchTrackPadProInstaller64.exe
-rwxr-xr-x 1 MyName staff 504712 Oct 12 20:40 AppleNullDriver64.exe
-rwxr-xr-x 1 MyName staff 2383280 Oct 12 20:40 AppleODDInstaller64.exe
-rwxr-xr-x 1 MyName staff 2388592 Oct 12 20:40 AppleRemoteInstaller64.exe
-rwxr-xr-x 1 MyName staff 2385104 Oct 12 20:40 AppleSDCardReader64.exe
-rwxr-xr-x 1 MyName staff 2321408 Oct 12 20:34 AppleSoftwareUpdate.msi
-rwxr-xr-x 1 MyName staff 2068376 Oct 12 20:40 AppleWirelessMouse64.exe
-rwxr-xr-x 1 MyName staff 2406936 Oct 12 20:40 AppleWirelessTrackpad64.exe
-rwxr-xr-x 1 MyName staff 4632576 Oct 12 20:37 BootCamp.msi
-rMBP:~ MyName$ grep "Product" /Volumes/Boot\ Camp/BootCamp/BootCamp.xml
<BuildInfo BuildNumber="6237" ProductName="Boot Camp">
<ProductManufacturer>Apple Inc.</ProductManufacturer>
<ProductVersion>6.0.6237</ProductVersion>
<ProductCode>{FCFFE6B6-BAE8-490E-88D0-097A9DA1C43D}</ProductCode>