topical media & game development

talk show tell print

basic-shell-03-backup1.sh / sh



  
  # Example backup script, for files with names
  # ending in .doc
  #
  
  for filename in *.doc
  do
      echo "Copying filename to filename.bak"
      cp filename filename.bak    
  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.