Last active
January 30, 2025 05:44
-
-
Save maxcollombin/09b6714b7c23ed1ab094832dc9c0fc90 to your computer and use it in GitHub Desktop.
Script for validating muliple INTERLIS .ili files in a directory.
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
# Truncate the ili2c.log file if it exists, otherwise create it | |
: > ili2c.log | |
# Validate each .ili file in the models directory | |
for file in models/*.ili; do | |
echo -e "Processing $file\n" >> ili2c.log | |
java -jar ili2c.jar "$file" >> ili2c.log 2>&1 | |
echo "" >> ili2c.log | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment