https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 43c4f5574e97b49d7c632ea9043a53eb7e571fbc authored by joergbuchwald on 05 April 2021, 20:05:59 UTC
Merge branch 'ThermoRichardsFlow' into 'master'
Tip revision: 43c4f55
archive-testdata.sh
#!/bin/bash
if [[ $OSTYPE == darwin* ]]; then
    find ./Tests/Data -not -name "*.md5-stamp" -not -name "*expected*" -not -type d -exec bash -c 'mkdir -p ./tmp/`dirname {}`' \; -exec bash -c 'cp `grealpath {}` ./tmp/{}' \;
else
    find ./Tests/Data -not -name "*.md5-stamp" -not -name "*expected*" -not -type d -exec bash -c 'mkdir -p ./tmp/`dirname {}`' \; -exec bash -c 'cp `realpath {}` ./tmp/{}' \;
fi
pushd . > /dev/null
cd ./tmp/Tests/Data
tar zcf ogs6-data.tar.gz ./*
mv ogs6-data.tar.gz ../../../
zip -r -q ogs6-data .
mv ogs6-data.zip ../../../
popd > /dev/null
rm -rf tmp/
back to top