--- trunk/bin/BackupPC_recover_from_increments 2006/04/27 09:36:18 356 +++ trunk/bin/BackupPC_recover_from_increments 2006/04/27 09:45:01 357 @@ -108,7 +108,7 @@ print "restoring $path\n"; - my $cmd = "cd $inc_tmp_dir && tar xvfz $path"; + my $cmd = "cd $inc_tmp_dir && tar xfz $path"; system($cmd) == 0 or die "can't execute: $cmd -- $?\n"; print "starting import into BackupPC pool\n"; @@ -173,3 +173,5 @@ } #unlink $config_file || die "can't remove $config_file: $!"; + +rmtree($inc_tmp_dir) if (-e $inc_tmp_dir);