Last active
March 10, 2018 11:38
-
-
Save grischard/201165c5228db6cb2f14215541ac7316 to your computer and use it in GitHub Desktop.
Show layers that are in JOSM but not in ELI that have been deleted from ELI
This file contains hidden or 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/bash | |
for i in `grep -of <(diff -wui <(git show db8d389:./imagery.geojson | grep url | sort) <(jsonpp imagery.geojson | grep url | sort) | grep '^-' | grep \} | cut -d \" -f 4) <(curl --silent https://josm.openstreetmap.de/wiki/ImageryCompare | awk '/\*\*\* URLs found in JOSM but not in ELI/,/but different name/' | perl -MHTML::Entities -pe 'decode_entities($_);')`; do | |
echo $i | |
git --no-pager log --name-status -n 1 -S $i sources | |
echo "--" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment