Index: trunk/tools/runcameraexp.pl
===================================================================
--- trunk/tools/runcameraexp.pl	(revision 29419)
+++ trunk/tools/runcameraexp.pl	(revision 31243)
@@ -16,4 +16,5 @@
 my $dbname = "gpc1";
 my ($cam_id, $update, $redirect, $save_temps, $pretend, $no_verbose);
+my ($outdir);
 
 GetOptions(
@@ -22,4 +23,5 @@
     'redirect-output'   => \$redirect,
     'save-temps'        => \$save_temps,
+    'outdir=s'          => \$outdir,
     'update'            => \$update,
     'dbname=s'          => \$dbname,
@@ -55,4 +57,11 @@
 
 die "Cannot update when run is not faulted\n" if $update and ! $fault;
+
+if ($outdir) {
+    my $base = basename($path_base);
+    $path_base = "$outdir/$base";
+    print STDERR "changing path_base to $path_base";
+    $update = 0;
+}
 
 my  $run_state;
