Select Git revision
fetch_data.cwl
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
fetch_data.cwl 848 B
id: fetchdata
label: fetch_data
class: CommandLineTool
cwlVersion: v1.1
inputs:
- id: surl_link
type: string
inputBinding:
position: 0
outputs:
- id: uncompressed
type: Directory
outputBinding:
glob: 'out/*'
baseCommand:
- 'bash'
- 'fetch.sh'
doc: 'Untar a compressed file'
requirements:
InlineJavascriptRequirement: {}
InitialWorkDirRequirement:
listing:
- entryname: 'fetch.sh'
entry: |
#!/bin/bash
mkdir out
cd out
echo "--- untar the tar file from the shared directory into the local tmp directory ---"
echo $1
echo "---------------------------------------------------------------------------------"
cat $1 | tar -xvf -
ls -rtl
echo "Nico was here!"
#globus-url-copy $turl - | tar -xvf -