Skip to content

Instantly share code, notes, and snippets.

@milcktoast
Last active August 29, 2015 14:03
Show Gist options
  • Save milcktoast/bccf8a12e31a8c46fbbb to your computer and use it in GitHub Desktop.
Save milcktoast/bccf8a12e31a8c46fbbb to your computer and use it in GitHub Desktop.
Blender Upgrade
#! /bin/sh
# usage:
# $ blender-upgrade $version
VERSION=$1
SRC=~/Dropbox/config/blender/
DEST=/Applications/Blender/Blender.app/Contents/Resources/$VERSION/scripts/
cd $SRC;
for d in *
do
for f in $d/*
do
echo "Adding $f"
rm -rf $DEST$f
cp -r $f $DEST$f
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment