6 |
#- in order to save disc space, take files: |
#- in order to save disc space, take files: |
7 |
fileList="tile001.mitgrid tile002.mitgrid tile003.mitgrid tile004.mitgrid tile005.mitgrid tile006.mitgrid" |
fileList="tile001.mitgrid tile002.mitgrid tile003.mitgrid tile004.mitgrid tile005.mitgrid tile006.mitgrid" |
8 |
#- from this dir: |
#- from this dir: |
9 |
fromDir="../../global_ocean.cs32x15/input" |
fromDir="../../aim.5l_cs/input" |
10 |
|
|
11 |
#- and do a symbolic link in the current directory |
#- and do a symbolic link in the current directory |
12 |
# (if the file does not already exist) |
# (if the file does not already exist) |
17 |
if test -r ${fromDir}/$xx ; then |
if test -r ${fromDir}/$xx ; then |
18 |
if test ! -r $xx ; then |
if test ! -r $xx ; then |
19 |
lnkList=${lnkList}" "$xx |
lnkList=${lnkList}" "$xx |
20 |
ln -s ${fromDir}/$xx . |
ln -sf ${fromDir}/$xx . |
21 |
fi |
fi |
22 |
fi |
fi |
23 |
done |
done |