Skip to content

Instantly share code, notes, and snippets.

@danvk
Forked from kberg/gist:8102aa43d713570551f9
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danvk/73889ea95c3b6fe16929 to your computer and use it in GitHub Desktop.
Save danvk/73889ea95c3b6fe16929 to your computer and use it in GitHub Desktop.
for file in *.html ; do
sed -i .bak 's/\.\.\/dygraph-dev.js/http\:\/\/dygraphs.com\/dygraph-combined-dev\.js/' $file
sed -i .bak 's/\.\.\/src\/extras/http\:\/\/dygraphs.com\/extras/' $file
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment