#2 [Patch] [Feature] skip prefix directory


zipdiff works perfectly when the two zip files have the exact same path tree. If you compare different version of software distributions, however, it is very likely that the root folder contains the version name or date.

The attached patch adds the options --skipprefixes1 and --skipprefixes2 which allows the user to sets the number of leading directories to ignore. This works similar to -p on the unix patch command.

This patch is fully compatible with command line tools, ant skripts and classes using jardiff. Only classes that extend DifferenceCalculator might need to be adjusted.


  • Raveendran Kumaravelu

    Hi, could you pls advise, how to use this apply this patch on a linux env.?

    Thanks in advance

  • Raveendran Kumaravelu

    ignore me, believe this feature is part of latest zip diff

  • Raveendran Kumaravelu

    could you cofirm if this feature is part of zipdiff 4.0 pls?


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks