common/tools/zip_includefiles.pl
author Matt Davies <mattd@symbian.org>
Fri, 29 May 2009 17:46:02 +0100
changeset 127 5274345d5497
parent 116 47cccedacd2d
permissions -rw-r--r--
Added merge_csv_orphans.pl - Would just change merge_csv.pl but I've been hacking and don't trust it yet.

#!perl -w

use strict;

my @includefiles = glob "*_includefile.txt";
foreach (@includefiles)
{
    my $includefilename=$_;
	if (m/(.*)(_includefile.txt)/) {
		my $zipfilename = $1.".zip";
		system("7za a -tzip -i@".$includefilename . " " .$zipfilename);
	}
}