Mercurial > repos > climate > cesm
view create_mapping.sh @ 0:7a7ba86e95a4 draft default tip
"planemo upload for repository https://github.com/ESCOMP/CESM commit 5c969e494841237de0b2301520d9321672cc9f5b"
author | climate |
---|---|
date | Tue, 15 Jun 2021 09:39:23 +0000 |
parents | |
children |
line wrap: on
line source
#!/usr/bin/env bash echo "==========================================" echo " Create symbolic link for input data " echo "==========================================" echo "Search for $2..." create_link=$(grep $2 $3) dir=$(dirname $create_link) echo "mkdir -p inputdata/$dir" mkdir -p inputdata/$dir echo "ln -s $1 inputdata/$create_link" ln -s $1 inputdata/$create_link