This shows how to process batch jobs with drush.Executing batch jobs that have already been set and the use of stub functions for executing batch jobs with scripts.
http://drupal.org/node/873132