Skip to content
Snippets Groups Projects
Commit b61d63ef authored by Root's avatar Root
Browse files

changed

parent ac310017
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# ./marvin-fetch.sh wikidata 2019.08.01 dbpedia-wikidata.tib.eu
# ./marvin-fetch.sh wikidata 2019.08.01
GROUP=$1
VERSION=$2
SERVER=$3
SERVER=dbpedia-$1.tib.eu
# get artifacts
ARTIFACTS=`xmlstarlet sel -N my=http://maven.apache.org/POM/4.0.0 -t -v "/my:project/my:modules/my:module" $GROUP/pom.xml`
for a in $ARTIFACTS ; do
echo $i
#scp -rv marvin-fetch@$SERVER:/data/databus-maven-plugin/dbpedia/$GROUP/$a/$VERSION $GROUP/$a/
rsync -av -e ssh --ignore-existing marvin-fetch@$SERVER:/data/databus-maven-plugin/dbpedia/$GROUP/$a/$VERSION $GROUP/$a
for ARTIFACT in $ARTIFACTS ; do
echo $ARTIFACT
#scp -rv marvin-fetch@$SERVER:/data/databus-maven-plugin/dbpedia/$GROUP/$a/$VERSION $GROUP/$a/
rsync -av -e ssh --ignore-existing marvin-fetch@$SERVER:/data/derive/databus-maven-plugin/dbpedia/$GROUP/$ARTIFACT/$VERSION $GROUP/$ARTIFACT
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment