Created
July 20, 2017 04:56
-
-
Save pinge/9700cfa0bab04af87c53074b303a474a 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
dir1='image-builder-rpi' | |
dir2='gateway-image-builder-rpi' | |
IFS=$'\n' | |
for file in $(grep -Ilsr -m 1 '.' "$dir1"); do | |
diff -q "$file" "${file/${dir1}/${dir2}}" | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment