Skip to content

Instantly share code, notes, and snippets.

@Komsomol
Created July 16, 2015 14:27
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 Komsomol/d9cc88debcdfda970abe to your computer and use it in GitHub Desktop.
Save Komsomol/d9cc88debcdfda970abe to your computer and use it in GitHub Desktop.
Bash Script to pull initializr Bootstrap to current directory
#!/bin/bash
echo 'Pulling initializr'
curl -o initializr.zip "http://www.initializr.com/builder?boot-hero&jquerymin&h5bp-favicon&h5bp-appletouchicons&modernizrrespond&simplehtmltag&izr-emptyscript&boot-css&boot-scripts"
echo 'Unzipping initializr'
unzip initializr.zip
echo 'Removing initializr'
rm initializr.zip
echo 'Copy to current directory'
cp -a initializr/. ./
echo 'Remove initializr copy'
rm -rf /initializr
echo 'Done!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment