Skip to content

Instantly share code, notes, and snippets.

@l4sh
Created October 8, 2017 03:30
Show Gist options
  • Save l4sh/15c4c215386e73f014e6f9a55399e400 to your computer and use it in GitHub Desktop.
Save l4sh/15c4c215386e73f014e6f9a55399e400 to your computer and use it in GitHub Desktop.
Download U-he Linux VSTs and free patches
#! /bin/bash
PATCHLIB_URL='http://www.u-he.com/PatchLib/'
function download_patches()
(
PLUGIN=$1
mkdir -p $PLUGIN
cd $PLUGIN
PATCHES=$(curl -s $PATCHLIB_URL/$PLUGIN |\
grep '\.zip' |\
sed 's/^.*href=\"//g;s/\".*$//g')
for PATCH in $PATCHES
{
echo Downloading $PATCH
curl -s -O $PATCHLIB_URL/$PATCH
}
cd -
)
PLUGINS=$(curl -s $PATCHLIB_URL |\
grep '\.html' |\
grep -v 'commercial'|\
sed 's/^.*\<a href=\"//g;s/\".*$//g')
mkdir -p patches
cd patches
for PLUGIN in $PLUGINS
{
echo Downloading $PLUGIN patches...
download_patches $PLUGIN
}
cd -
#! /bin/bash
function download_uhe()
(
product="$1"
rev="$2"
curl -O http://uhedownloads.heckmannaudiogmb.netdna-cdn.com/penguin/release/$rev/$product-$rev.tar.gz
)
for product in ACE Bazille Diva Filterscape Hive MFM2 Podolski Presswerk Protoverb "Repro 4365" Satin TrippleCheese Uhbik "Zebra2 4458"
do
download_uhe $product 4408
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment