Skip to content

Instantly share code, notes, and snippets.

@PierrickKoch
Created January 15, 2013 16:43
Show Gist options
  • Select an option

  • Save PierrickKoch/4540001 to your computer and use it in GitHub Desktop.

Select an option

Save PierrickKoch/4540001 to your computer and use it in GitHub Desktop.
files=$(grep -F ".configure_mw(" . -lr --exclude="$0" --exclude="*.pyc" \
--exclude="*.blend" --exclude-dir="build" --exclude-dir=".git")
for f in $files; do
sed -i 's/.configure_mw(/.add_stream(/g' $f
done
echo "done"
grep "configure_mw" . -lr --exclude="*.pyc" --exclude-dir="build" \
--exclude-dir=".git"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment