http://qs321.pair.com?node_id=1001925


in reply to Calculating differences between the contents of a zip and a directory

Now, I've tried implementing that with a MANIFEST-like file, but is there a more efficient solution?

Yeah, unzip ... and diff -ruN olddir unzippeddir

Replies are listed 'Best First'.
Re^2: Calculating differences between the contents of a zip and a directory
by MilanorTSW (Beadle) on Nov 02, 2012 at 07:49 UTC
    Thanks, but I can't do that without unzipping the file, can I? Also, I would need for the script to transfer platforms, I'll have to use File::DirCompare or something similar instead.

      Thanks, but I can't do that without unzipping the file, can I?

      Not sure, I don't remember details of archive formats.

      Typically archiving programs support listing contents of archives , so if that is faster than unzipping, and sufficiently detailed for your analysis, go for it, Try It To See

      Also, I would need for the script to transfer platforms, I'll have to use File::DirCompare or something similar instead.

      You could do that. You could also install diff on the target machine :) whatever you need