Skip to content
Snippets Groups Projects
Commit df2a8fe5 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

change from download (globus-url-copy) to copy (untarring from shared path)

parent 56fbe45d
No related branches found
No related tags found
No related merge requests found
...@@ -26,9 +26,10 @@ requirements: ...@@ -26,9 +26,10 @@ requirements:
#!/bin/bash #!/bin/bash
mkdir out mkdir out
cd out cd out
turl=`echo $1 | awk '{gsub("srm://srm.grid.sara.nl[:0-9]*","gsiftp://gridftp.grid.sara.nl"); print}'` echo "--- untar the tar file from the shared directory into the local tmp directory ---"
turl=`echo $turl | awk '{gsub("srm://lta-head.lofar.psnc.pl[:0-9]*","gsiftp://gridftp.lofar.psnc.pl"); print}'` echo $1
turl=`echo $turl | awk '{gsub("srm://lofar-srm.fz-juelich.de[:0-9]*","gsiftp://lofar-gridftp.fz-juelich.de"); print}'` echo "---------------------------------------------------------------------------------"
echo "Downloading $turl" cat $1 | tar -xvf -
globus-url-copy $turl - | tar -xvf - ls -rtl
echo "Nico was here!"
#globus-url-copy $turl - | tar -xvf -
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment