Warning, /verification/hs94.cs-32x32x5/input/prepare_run is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
9a3b35958b Jean*0001 #! /usr/bin/env bash
0002
0003 #- in order to save disc space, take files:
0004 fileList="tile001.mitgrid tile002.mitgrid tile003.mitgrid tile004.mitgrid tile005.mitgrid tile006.mitgrid"
0005 #- from this dir:
24142a2850 Jean*0006 fromDir="../../aim.5l_cs/input"
9a3b35958b Jean*0007
0008 #- and do a symbolic link in the current directory
0009 # (if the file does not already exist)
0010 if test -d $fromDir ; then
0011 lnkList='files:'
0012 for xx in $fileList
0013 do
0014 if test -r ${fromDir}/$xx ; then
0015 if test ! -r $xx ; then
0016 lnkList=${lnkList}" "$xx
24142a2850 Jean*0017 ln -sf ${fromDir}/$xx .
9a3b35958b Jean*0018 fi
0019 fi
0020 done
0021 echo ' link' $lnkList "from dir:" $fromDir
0022 else
0023 echo " Error:" $fromDir "not a directory"
0024 fi