Created
May 7, 2020 18:01
-
-
Save EugW/bbe4ce3b299c4f25d2d9e51b180ef2da to your computer and use it in GitHub Desktop.
Differences in zip
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
echo "$1 vs $2" | |
mkdir temp/ | |
unzip -q $1 -d temp/$1.d/ | |
unzip -q $2 -d temp/$2.d/ | |
cd temp | |
cd $1.d | |
find -type f > ../$1.txt | |
cd .. | |
cd $2.d | |
find -type f > ../$2.txt | |
cd .. | |
diff $1.txt $2.txt | |
cd .. | |
rm -rf temp/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment