cd ~/Downloads/brigadier-master/ LT-rMBP18:brigadier-master $ ls -lg total 88 -rwxr-xr-x@ 1 staff 2694 Aug 29 19:58 CHANGELIST -rwxr-xr-x@ 1 staff 1086 Aug 29 19:58 LICENSE.md -rwxr-xr-x@ 1 staff 11056 Aug 29 19:58 README.md -rwxr-xr-x@ 1 staff 6 Aug 29 19:58 VERSION -rwxr-xr-x@ 1 staff 15448 Aug 29 19:58 brigadier -rwxr-xr-x@ 1 staff 2214 Aug 29 19:58 build_windows_exe.py drwxr-xr-x@ 5 staff 160 Aug 29 19:58 msi-transform drwxr-xr-x@ 3 staff 96 Aug 29 19:58 plist-example drwxr-xr-x 3 staff 96 Oct 10 08:38 testDownload LT-rMBP18:brigadier-master $ ./brigadier -help 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. LT-rMBP18:brigadier-master $ mkdir testDownload LT-rMBP18:brigadier-master $ ./brigadier -o testDownload Using Mac model: MacBookPro15,2. Model supported in package distribution file at http://swcdn.apple.com/content/downloads/24/46/041-91737-A_KOBGOTCIEZ/0b9gnebg3ivdfsd79simxpr60vvx9sy31k/041-91737.English.dist. Distribution 041-91737 supports the following models: MacBookPro15,1, MacBookPro15,2. Making directory testDownload/BootCamp-041-91737.. Fetching Boot Camp product at URL http://swcdn.apple.com/content/downloads/24/46/041-91737-A_KOBGOTCIEZ/0b9gnebg3ivdfsd79simxpr60vvx9sy31k/BootCampESD.pkg. 100.0% 998146048 / 998143387 bytes Expanding flat package... Extracting Payload... Extracted to testDownload/BootCamp-041-91737/WindowsSupport.dmg. Done. LT-rMBP18:brigadier-master $ ls -lg testDownload/BootCamp-041-91737 total 1967872 -rw-r--r-- 1 staff 1000740515 Aug 9 2018 WindowsSupport.dmg