Created
September 27, 2023 17:50
-
-
Save adrianblade/b5e0f2244220ec7152f38d66d6be084d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
WAR_MASTER="X.war" | |
WAR_CANDIDATE="Y.war" | |
rm -r /tmp/comparator | |
mkdir /tmp/comparator | |
unzip $WAR_MASTER -d /tmp/comparator/tmp1 | |
unzip $WAR_CANDIDATE -d /tmp/comparator/tmp2 | |
ls -l /tmp/comparator/tmp1 | |
ls -l /tmp/comparator/tmp2 | |
diff -qr /tmp/comparator/tmp1/ /tmp/comparator/tmp2/ | grep "Only in" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment