Re: help with zip files and file sizes

2011-01-31 Thread Parag Kalra
You should probably use a Zip parser - http://search.cpan.org/search?mode=module&query=Archive%3A%3AZip ~Parag On Mon, Jan 31, 2011 at 11:15 PM, Balachandran Sivakumar < benignb...@gmail.com> wrote: > Hi, > > I have 2 versions of a zip file(same archive, but with updates.). > I need to co

help with zip files and file sizes

2011-01-31 Thread Balachandran Sivakumar
Hi, I have 2 versions of a zip file(same archive, but with updates.). I need to compare the 2 versions. I adopted the following approach. The files are v1.zip and v2.zip. 1) extract to /tmp/v1 and /tmp/v2 2) Get the list of files in /tmp/v1 and store to @files_v1 3) Get the list of files in