/[MITgcm]/MITgcm/verification/hs94.cs-32x32x5/input.impIGW/prepare_run
ViewVC logotype

Contents of /MITgcm/verification/hs94.cs-32x32x5/input.impIGW/prepare_run

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Feb 22 14:52:29 2011 UTC (13 years, 2 months ago) by jmc
Branch: MAIN
link same grid-files from dir fizhi-cs-32x32x40/input and remove local copy.

1 #! /usr/bin/env bash
2
3 # $Header: $
4 # $Name: $
5
6 #- in order to save disc space, take files:
7 fileList="dxC1_dXYa.face001.bin dxC1_dXYa.face002.bin dxC1_dXYa.face003.bin dxC1_dXYa.face004.bin dxC1_dXYa.face005.bin dxC1_dXYa.face006.bin"
8
9 #- from this dir:
10 fromDir="../../fizhi-cs-32x32x40/input"
11
12 #- and do a symbolic link in the current directory
13 # (if the file does not already exist)
14 if test -d $fromDir ; then
15 lnkList='files:'
16 for xx in $fileList
17 do
18 if test -r ${fromDir}/$xx ; then
19 if test ! -r $xx ; then
20 lnkList=${lnkList}" "$xx
21 ln -sf ${fromDir}/$xx .
22 fi
23 fi
24 done
25 echo ' link' $lnkList "from dir:" $fromDir
26 else
27 echo " Error:" $fromDir "not a directory"
28 fi

  ViewVC Help
Powered by ViewVC 1.1.22