It pulls down one set to the machine, and all users have access to the one set of sounds.
Love the script @chrisdaggett
But am I missing something? when adding -o it is installing the All Sounds bundle, but I am finding that it is not activating the updated sounds.
So, in my case, there are a small set of orchestra sounds that are being missed.
Any ideas on an argument to install these also??
@tjgriffin Thanks! I will have to try that in the morning and see if I can duplicate/take a guess at why it isn't activating those. Sometimes this happens because Apple does an update but I will test it out and see what I can find! (once in the past I had to create a package with a handful of the sounds until AppleLoops was updated). Will report back tomorrow morning!
Just to verify, the script was running on a logged in user
@chrisdaggett Thanks for looking into it. yes, I am running it on a logged in user. Mac is running 10.15.7.
When you click on the GarageBand > Sound Library The first 2 options are greyed out, showing that your script worked perfectly.
It's the last one we are after.
But no rush, I'll push out a package for now.
@chrisdaggett Do you have to have a newer version of Python installed to run this? The requirements listed for the AppleLoops script suggested that and I just wanted to be sure before I start pushing yours out.
Also I added a killall GarageBand to the beginning of your script just in case they left it opened.
Gabe Shackney
Princeton Public Schools
@chrisdaggett Looks like the script is no longer working after an update to the Carlashley github site in November.
I am getting error trying to locate the Garageband app.
/Library/Application Support/JAMF/tmp/ButlerLoops: /tmp/appleLoops-master/appleLoops: /usr/local/bin/python3: bad interpreter: No such file or directory
rm: /var/root/Library/Containers/com.apple.garageband10/Data/Library/Preferences/com.apple.garageband10.plist: No such file or directory
Maybe it is python 3 that is not installed.
Doing more troubleshooting.
10.15 machines in our lab.
Anyone else have issues?
This has been working for me:
At start of policy I have it install the python package (its so small I don't care if it is already there or not). Then run the following script tweaked from @chrisdaggett. Our district is holding on 10.15.7 and we had to insert a "knob" into our jss to force the server not to check on app versions so it would continue to push the correct version for Catalina and not try to force the Big Sur version of GarageBand.
This is the small version for just basic loops:
#!/bin/bash
# Quit GarageBand
killall GarageBand
# Download the Zip file of the GitHub Repository
/usr/bin/curl -o /tmp/appleLoops.zip -LO https://github.com/carlashley/appleLoops/archive/master.zip
# Extract Zip
/usr/bin/unzip -q /tmp/appleLoops.zip -d /tmp
# Run the tool to download and install Apple Loops
/tmp/appleLoops-master/appleLoops --deployment -a garageband -m --log-level DEBUG
# Cleanup
rm -rf /tmp/appleLoops-master
rm -f /tmp/appleLoops.zip
#Fix GB Downloader
currentuser=`stat -f "%Su" /dev/console`
su "$currentuser" -c "rm -R ~/Library/Containers/com.apple.garageband10/Data/Library/Preferences/com.apple.garageband10.plist"
exit 0
This is for the full install but for some reason it doesn't grab one package of symphony sounds and i make the policy with a warning that depending on internet speeds, it could take over an hour to download and install:
#!/bin/bash
# Quit GarageBand
killall GarageBand
# Download the Zip file of the GitHub Repository
/usr/bin/curl -o /tmp/appleLoops.zip -LO https://github.com/carlashley/appleLoops/archive/master.zip
# Extract Zip
/usr/bin/unzip -q /tmp/appleLoops.zip -d /tmp
# Run the tool to download and install Apple Loops
/tmp/appleLoops-master/appleLoops --deployment -a garageband -o --log-level DEBUG
# Cleanup
rm -rf /tmp/appleLoops-master
rm -f /tmp/appleLoops.zip
#Fix GB Downloader
currentuser=`stat -f "%Su" /dev/console`
su "$currentuser" -c "rm -R ~/Library/Containers/com.apple.garageband10/Data/Library/Preferences/com.apple.garageband10.plist"
exit 0
Gabe Shackney
Princeton Public Schools
@cvangorp Updated script, can't run command as script need to state python at command. We have since switched to ipads (boo...) so I didn't notice thank you for bringing it to my attention. (literally just added python in front of the command to run appleloops)
@gshackney macOS 10.16 comes with Python3+ installed. You can run the command via python3. To install Python otherwise is a huge hassle, so I am avoiding it unless absolutely necessary. I think where the issue will end up, eventually, is trying to do this on older mac's (10.14 and lower) if/when Apple kills Python 2.* support all together.
Right now using regular python still works for 10.14/10.15 so no reason to install python separately IMO. I just tested this with 10.14 thorugh 10.16 and it succeded on all 3 with no external python install.
#!/bin/bash
# Download the Zip file of the GitHub Repository
/usr/bin/curl -o /tmp/appleLoops.zip -LO https://github.com/carlashley/appleLoops/archive/master.zip
# Extract Zip
/usr/bin/unzip -q /tmp/appleLoops.zip -d /tmp
# Run the tool to download and install Apple Loops
#Updated to call using python to fix Appleloops3 November 2020 update
python /tmp/appleLoops-master/appleLoops --deployment -a garageband -m -q
# Cleanup
rm -rf /tmp/appleLoops-master
rm -f /tmp/appleLoops.zip
#Fix GB Downloader
currentuser=`stat -f "%Su" /dev/console`
su "$currentuser" -c "rm -R ~/Library/Containers/com.apple.garageband10/Data/Library/Preferences/com.apple.garageband10.plist"
exit 0
@chrisdaggett
No hassle at all to install python 3 via a pkg and then run the script after during the policy. We are not moving to 10.16 anytime soon and also @cvangorp stated he was also using 10.15. I've have only success with what I posted above running it through self service. EDIT:Saw you edited this to talk about not needing to install python however in my testing it did not function without python 3 installed and gave errors. Once I started with the python 3 install all the errors disappeared. EDIT 2 Looks like the fix is either installing python 3 or changing the call in the script to use the python flag. Both solutions work it looks like.
Gabe Shackney
Princeton Public Schools
@gshackney If it works for you that's all that matters! I was just stating it wasn't necessary. Once the command is called with python (Updated my scripts above, literally just adding python to the beginning) it uses the built in python in macOS (any version 10.14, 10.15 or 10.16) and doesn't look for the /usr/bin/local/python. But again, what you are doing is absolutely fine too (and possibly a better shot at being more future proof!)
You are absolutely correct about my old script not working with the new version of Appleloops, the way I had written the script calling it from command line it was trying to find Python at /usr/local/bin/python3. Your fix of installing python takes care of that and should make it work even if apple kills off the built in python2 at some point.
Cheers and no worries!
Gabe Shackney
Princeton Public Schools
@chrisdaggett Your script works really well in my environment! Thank you. Can you tell me - in your experience will the appleloops script hit the caching server without specifying this as an option. Every time I do specify it the script bugs out.
@kieranbailey Unfortunately there isn't anything it can cache other than the script itself as far as JAMF Caching goes. The script itself calls for the download of the AppleLoops python script and runs it and then it manually downloads all the soundfiles from Apple.
You can specify a caching server using Appleloops itself, by adding the -c option. I have actually not really tried that or tested it. Your http caching server would have to have the same folder structure matching the packages.
Another option, that I have used for local caching, is to just use AppleLoops to do a manual download. (just on one machine so you have the files)
python /tmp/appleLoops-master/appleLoops -d ~/Desktop/garageband -a garageband -m
Once you have the files you can place them in a few Zip files for deployment from your caching server using JAMF. (Make a few packages that are nothing more than the ZIP Files and place them in like /tmp/AppleLoopsCache) Once you have those packages in JAMF you can make them cached.
Then in the same policy you use to deploy those packages add a script to extract and run those packages after:
#!/bin/bash
for zip in /tmp/AppleLoopsCache/*.zip
do
/usr/bin/unzip -q "$zip" -d /tmp/AppleLoopsCache
done
for pkg in /tmp/AppleLoopsCache/*.pkg
do
installer -pkg "$pkg" -target /Volumes/Macintosh HD
done
currentuser=`stat -f "%Su" /dev/console`
su "$currentuser" -c "rm -R ~/Library/Containers/com.apple.garageband10/Data/Library/Preferences/com.apple.garageband10.plist"
rm -rf /tmp/AppleLoopsCache
jHelper="/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper"
msg="GarageBand Sounds Files Successfully Installed!"
"$jHelper" -windowType utility -description "$msg" -button1 OK -icon "$icon" -iconSize 90
exit 0
The downside to any of the caching methods is every time there is a GarageBand update it is likely to have some new or modified sound file that breaks your cache. You then have to do the manual download method again and make new ZIP Packages.
Anybody has a copy of
http://github.com/carlashley/appleLoops/archive/master.zip
after it went 404 on Github?
One can get pkg(s) direct: https://discussions.apple.com/docs/DOC-9521
@scerazy Very unfortunate that Carl Ashley chose to scrub the internet of all his work rather than pass it on to the community. Hopefully somebody has a copy saved locally and we can modify it among the JAMF Community to keep it going.
To open v2 git bundle .bundle that is inside the archive... on Windows
Download portable:
https://git-scm.com/download/win
"Unbundle":
https://statagroup.com/articles/git-bundle
W: empPortableGit>git clone ../carlashley-appleloops_-_2019-12-18_10-55-41.bundle
Cloning into 'carlashley-appleloops_-_2019-12-18_10-55-41'...
Receiving objects: 100% (462/462), 21.31 MiB | 33.93 MiB/s, done.
Resolving deltas: 100% (233/233), done.
But surely somebody has the latest master.zip available? Because it is not here:
https://web.archive.org/web/20210117105359/https://github.com/carlashley/appleLoops/
or one can use https://github.com/davidteren/lpx_links but changing file_helpers.rb to read:
def logic_app_path
'/Applications/GarageBand.app/Contents/Resources'
end
# Returns current filename: i.e. 'logicpro1040.plist'
def plist_file_name
`cd '#{logic_app_path}' && find . -name garageband1021.plist`
I see Carl Ashley is no longer supported. Though I would have a go getting ideas from other people in the thread.
This is what I came up with for Mandatory loops and the same can be done for all sounds.
Feedback always welcome :-)
#!/bin/sh
#
#
# Create directory /tmp/jamf, continue if directory already exists
mkdir /tmp/jamf || :
# Change directory to /tmp/jamf
cd /tmp/jamf
#Download installer container into /tmp/jamf
# -O downloads file without changing its name
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0048_AlchemyPadsDigitalHolyGhost.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0310_UB_DrumMachineDesignerGB.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0312_UB_UltrabeatKitsGBLogic.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0314_AppleLoopsHipHop1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0315_AppleLoopsElectroHouse1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0316_AppleLoopsDubstep1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0317_AppleLoopsModernRnB1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0320_AppleLoopsChillwave1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0321_AppleLoopsIndieDisco.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0322_AppleLoopsDiscoFunk1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0323_AppleLoopsVintageBreaks.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0324_AppleLoopsBluesGarage.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0325_AppleLoopsGarageBand1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0354_EXS_PianoSteinway.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0357_EXS_BassAcousticUprightJazz.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0358_EXS_BassElectricFingerStyle.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0371_EXS_GuitarsAcoustic.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0375_EXS_GuitarsVintageStrat.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0482_EXS_OrchWoodwindAltoSax.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0484_EXS_OrchWoodwindClarinetSolo.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0487_EXS_OrchWoodwindFluteSolo.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0491_EXS_OrchBrass.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0509_EXS_StringsEnsemble.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0536_DrummerClapsCowbell.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0537_DrummerShaker.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0538_DrummerSticks.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0539_DrummerTambourine.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0540_PlugInSettingsGB.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0554_AppleLoopsDiscoFunk2.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0557_IRsSharedAUX.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0560_LTPBasicPiano1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0593_DrummerSoCalGBLogic.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0597_LTPChordTrainer.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0598_LTPBasicGuitar1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0615_GBLogicAlchemyEssentials.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0637_AppleLoopsDrummerKyle.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0646_AppleLoopsDrummerElectronic.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0910_PlugInSettingsGBLogic.pkg
# Run installer package with the boot drive as the destination
for pkg in $( ls /tmp/jamf/*.pkg ); do
echo "Installing $pkg"
installer -pkg $pkg -target /
done
# Clean up
rm -r /tmp/jamf
I see Carl Ashley is no longer supported. Though I would have a go getting ideas from other people in the thread.
This is what I came up with for Mandatory loops and the same can be done for all sounds.
Feedback always welcome :-)
#!/bin/sh
#
#
# Create directory /tmp/jamf, continue if directory already exists
mkdir /tmp/jamf || :
# Change directory to /tmp/jamf
cd /tmp/jamf
#Download installer container into /tmp/jamf
# -O downloads file without changing its name
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0048_AlchemyPadsDigitalHolyGhost.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0310_UB_DrumMachineDesignerGB.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0312_UB_UltrabeatKitsGBLogic.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0314_AppleLoopsHipHop1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0315_AppleLoopsElectroHouse1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0316_AppleLoopsDubstep1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0317_AppleLoopsModernRnB1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0320_AppleLoopsChillwave1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0321_AppleLoopsIndieDisco.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0322_AppleLoopsDiscoFunk1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0323_AppleLoopsVintageBreaks.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0324_AppleLoopsBluesGarage.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0325_AppleLoopsGarageBand1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0354_EXS_PianoSteinway.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0357_EXS_BassAcousticUprightJazz.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0358_EXS_BassElectricFingerStyle.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0371_EXS_GuitarsAcoustic.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0375_EXS_GuitarsVintageStrat.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0482_EXS_OrchWoodwindAltoSax.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0484_EXS_OrchWoodwindClarinetSolo.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0487_EXS_OrchWoodwindFluteSolo.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0491_EXS_OrchBrass.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0509_EXS_StringsEnsemble.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0536_DrummerClapsCowbell.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0537_DrummerShaker.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0538_DrummerSticks.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0539_DrummerTambourine.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0540_PlugInSettingsGB.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0554_AppleLoopsDiscoFunk2.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0557_IRsSharedAUX.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0560_LTPBasicPiano1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0593_DrummerSoCalGBLogic.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0597_LTPChordTrainer.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0598_LTPBasicGuitar1.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0615_GBLogicAlchemyEssentials.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0637_AppleLoopsDrummerKyle.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0646_AppleLoopsDrummerElectronic.pkg
curl -O https://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0910_PlugInSettingsGBLogic.pkg
# Run installer package with the boot drive as the destination
for pkg in $( ls /tmp/jamf/*.pkg ); do
echo "Installing $pkg"
installer -pkg $pkg -target /
done
# Clean up
rm -r /tmp/jamf
Hello Luke. How can this be done for all sounds? :) And how can we keep it up to date?
Hello Luke. How can this be done for all sounds? :) And how can we keep it up to date?
I have given up on automating it. Once a term I will set up a fresh Mac in my Test group and install GarageBand, and then capture the loops pkg files. Then build an installer to install them all. I do the same with Logic. I find it always works that way, and only takes me a week to sort them both out and get them uploaded to the server for distribution. There is a lot of waiting involved, so its done over a week, not taking me a full time week.
I have given up on automating it. Once a term I will set up a fresh Mac in my Test group and install GarageBand, and then capture the loops pkg files. Then build an installer to install them all. I do the same with Logic. I find it always works that way, and only takes me a week to sort them both out and get them uploaded to the server for distribution. There is a lot of waiting involved, so its done over a week, not taking me a full time week.
Do you capture with composer? I have no luck capturing any files garageband is downloading. Do you know where it is stored?
Do you capture with composer? I have no luck capturing any files garageband is downloading. Do you know where it is stored?
No I dont use Composer to capture them.
First run GarageBand, and it will want to install the essential sounds, let it, but do not put in your admin password to install them. It will download them all though.
Then go to /private/var/folders. In here you will have a bunch of folders with two charecter names. What you need to do at this point is to go to the View Menu at the top of the screen and then choose View Options for that folder, and then tick to calculate all sizes. Sit back and wait for it to do so. One of those folders will show up with a few Gb in it, that is the one you want. Follow the big folder down. I think on mine it is in a folder called q_, and then a great long line of charecters, and then a folder called 0, and in there will be the one with all the stuff you want.
There will be two types of files, the pkg's are the ones you want, I usually copy them to a folder on the desktop. Dont move them, you want them to still be there to actually install.
Once you have a copy of them all, then go ahead and let GarageBand install them.
At this point I will normally reboot the Mac, I want the Admin authorisation to install to be totally gone for the next step.
Open GB again and tell it to download and install the sounds, but the same as with the essential sounds you want it to stop before it installs the files. Back to the same location and copy out the huge folder full of pkg files.
Now comes the fun bit...
I break them into folders with about 5Gb max size, and put them in a location where you can access them on all the Macs they are going to. I have a place in the var folder that I use, but you can use the tmp folder if you want. Then use Composer to make an individual pkg of each of these folders. i think I get 5 for GB and 14 for Logic. Then a post install script to install all of them.
Dont upload them all as their individual pkg files to your Jamf server - the Logic one has close to 900 pkg files in it, and I for one do not want to hunt through those looking for something to add to a policy or try to add 900 pkg's to a policy.
# Install the pkg files found in a temp location
for PKG in $(ls "<path/to/files>" | grep "pkg$")
do
/usr/sbin/installer -pkg <path/to/files>/"$PKG" -tgt / -allowUntrusted
# Then it will remove the installers
rm -Rf <path/to/files>/"$PKG"
done
I use this script to loop through the pkg files and install them and then delete them as I go. Works well, you can also use a Parameter for the Path, and then use the same script set to run after with a different parameter to provide the correct path to each of your folders.
I limit the size to the 5 Gb to make it work better. there used to be a 5Gb limit on files, I believe this is higher now. The whole thing appears to move along at that size, uploading to the server, replicationg to distribution points, sending out to the Macs for installation, and installing them.
Hope this helps
Reach out to your Apple SE or Apple Rep, they now have developed script available by request. Their licensing doesn't allow sharing of the script by you can ask for it. Very similar to Carl's script. Is meant to work with MDM's and works with GB and Logic. I have yet to use but received it earlier this spring.
Hello Luke. How can this be done for all sounds? :) And how can we keep it up to date?
Hi Malmen,
I haven't found a way of automating it but it looks like Apple my have a script for us now as per cvangorp post. My version was the same as other people just skipping the composer bit.
Once GB is installed, click download all sound but don't install! Then go to /private/var/folders find all the pkg's then I just copied them into excel and added the first part of the URL. That then gave me the full path.
Reach out to your Apple SE or Apple Rep, they now have developed script available by request. Their licensing doesn't allow sharing of the script by you can ask for it. Very similar to Carl's script. Is meant to work with MDM's and works with GB and Logic. I have yet to use but received it earlier this spring.
Hi @cvangorp I spoke to multiple people at Apple and they couldn't find any scripts to give. They said they can create one but it would cost $$$. Do you have any sort of reference I can use? Or did you pay for this service?