Thread Dateien eines Zip's umbenennen mit Archive::Zip
(3 answers)
Opened by tecker at 2009-10-15 10:07
Denke mal, du musst das in etwa so machen:
Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 my $zip = Archive::Zip->new(); my $archive = "path/file.zip"; die "can't read .zip" unless $zip->read($archive) == AZ_OK; my @members = $zip->memberNames; foreach my $member(@members) { my $newMemberName = ...; $zip->extractMember($member, $newMemberName); } |