Skip to content

Instantly share code, notes, and snippets.

@2Andrew4
Created September 12, 2021 02:24
Show Gist options
  • Save 2Andrew4/78b19b7b7de4a76518eb2e27b7515c7e to your computer and use it in GitHub Desktop.
Save 2Andrew4/78b19b7b7de4a76518eb2e27b7515c7e to your computer and use it in GitHub Desktop.
How much times you would compare two files also binary files / need kompare
#! /bin/bash
## starter under gpl licensed
## contact: a@ŧ website@luna-net.org
echo "wie viele Vergleiche?"
echo "How many comparings?"
read thech
COUNTER=0
until [ $COUNTER == $thech ]; do
echo "COMPARE FULL PATH TO BINARY FILE"
read cmpO
echo "Conpare with full path to binary file"
read cmpT
echo " - - - - "
kompare -c $cmpO $cmpT
let COUNTER=COUNTER+1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment