This page is a stub for collating automated theme upgrade steps.
You'll want to run these sed commands over (the copy of) your old d6 themes and then do a diff to make sure nothing is broken.
Please edit this page to refine the steps you have taken.
If your theme is derived from a classic drupal theme, carried forward into drupal 7, then diff3 is a useful tool:
cp $a6/$f a6.$f
cp $g7/$f g7.$f
cp $g6/$f g6.$f
# MYFILE OLDFILE YOURFILE
diff3 -m a6.$f g6.$f g7.$f > a7.$f
echo "Now you need to edit a7.$f and then:"
echo " cp a7.$f $a7/$f
To do some automated search and replaces, sed is useful:
s|<body(.*)>|<body\1> <?php print $page_top; ?>|
#$search_box is now a block.
s|</body>|<?php print $page_bottom; ?></body>|
Thanks to http://drupaldome.com/how-convert-your-drupal-6-theme-drupal-7-theme for the initial pointers.
See also: http://www.grymoire.com/Unix/Sed.html for how to use sed