# Create a c:\program files\Mozilla Firefox\chrome\unzipped\ directory, place this there, and run it, and it'll unzip all the .jar's. # If you don't already have it, you'll also need http://www.info-zip.org/UnZip.html # # This should work on Windows and Linux at least. use strict; use warnings; my @files = glob "../*.jar"; foreach my $f (@files) { print "$f\n"; (my $dir = $f) =~ s#^.*./##; mkdir $dir; chdir $dir; system "unzip ..\\..\\$dir"; chdir ".."; }