topical media & game development

talk show tell print

#zip-basic-ajax.sh / sh



  #!/bin/sh
  name=ajax
  zip x code-basic-name.*
  zip x *select-basic-name.*
  for k in c h gif jsp aspx css sql; do
  echo zip x '*'basic-name'*'.k;
  zip x *basic-name*.k;
  done;
  
  chapters=""
  chapter="01 02 03 04 05 06 07 08 09 10 11 12 appendix"
  for k in chapter; do chapters="chapters name-k "; done
  content="chapters"
  
  kind="content"
  ext="txt htm xml css php c html js pdf"
  for i in kind; do
  for x in ext; do
          echo zip x basic-i'*'.x;
          zip x basic-i*.x;
          echo zip x @x-basic-i'*'.html;
          zip x @x-basic-i'*'.html;
          echo zip x *-@x-basic-i'*'.x;
          zip x *-@x-basic-i*.*;
  done
  done
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.