Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save larsvegas/7153976 to your computer and use it in GitHub Desktop.
Save larsvegas/7153976 to your computer and use it in GitHub Desktop.
Pump default content in all static pages except home. koelncampus.com, kconline
#!/bin/sh
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# run from kc201x/app/views/pages
#
cat programm/programmtipps.html.erb > ../../../doc/default-content.html.erb
find . -iname '*.html.erb' -not -iname 'home.html.erb' -type f -print0 -exec bash -c 'cat ../../../doc/default-content.html.erb > {}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment