Skip to content

Instantly share code, notes, and snippets.

@jeremywen
Last active October 24, 2017 15:51
Show Gist options
  • Save jeremywen/2e2cd152a1bbaa66d433b8ed4ff02d25 to your computer and use it in GitHub Desktop.
Save jeremywen/2e2cd152a1bbaa66d433b8ed4ff02d25 to your computer and use it in GitHub Desktop.
lists which vcv rack plugins you have - you can uncomment commands to run for each plugin
#!/bin/bash
for gitPlugin in $(curl https://github.com/VCVRack/Rack/wiki/List-of-plugins | grep "<strong>Source</strong>" | awk -F'"' '{print $2}' | awk -F'/' '{print "git@"$3":"$4"/"$5".git"}')
do
baseDir=$(echo $gitPlugin | awk -F'/' '{print $2}' | awk -F'.' '{print $1}')
if [ -d "$baseDir" ]; then
echo "$baseDir exists"
else
echo "$baseDir does not exists"
# git clone $gitPlugin
fi
pushd $baseDir
# git pull --rebase
# make clean
# make
popd
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment