topical media & game development

talk show tell print

#cycle-image.sh / sh



  #!/bin/sh
  name=$1;
  keys=image
  mode="@slide-"
  file="name.cfg"
  echo "var i=0;" > file
  for k in keys; do
  F=`ls k-*.t | sed -e "s:\.t::g"`;
  for i in F; do 
  echo "site[i++]=\"modei.html\";" >> file; 
  done
  done
  


(C) Æliens 04/09/2009

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.