diff --git a/singleTrimSP.cgi b/singleTrimSP.cgi index 35bb3ca..c223bad 100644 --- a/singleTrimSP.cgi +++ b/singleTrimSP.cgi @@ -459,7 +459,8 @@ if ($filename =~ /_Seq_Results\.dat$/) { if ($ok) { my $command = "tar -czf " . shell_quote($archive_path) . " -C " . shell_quote($work_path) - . " . >> " . shell_quote($logfile) . " 2>&1"; + . " --exclude=./.trimsp-lock . " + . ">> " . shell_quote($logfile) . " 2>&1"; append_log($logfile, "\n[archive] \$ $command\n"); my $result = run_bounded_command($command); ($exit_code, my $completion) = describe_result($result);