/[MITgcm]/MITgcm/verification/1D_ocean_ice_column/input_ad/prepare_run
ViewVC logotype

Annotation of /MITgcm/verification/1D_ocean_ice_column/input_ad/prepare_run

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


Revision 1.3 - (hide annotations) (download)
Fri Sep 2 12:54:29 2011 UTC (12 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63c, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.2: +1 -1 lines
link less files from ../input

1 ifenty 1.1 #! /usr/bin/env bash
2    
3     #- in order to save disc space, take *.1979 files
4     #- from this dir:
5     fromDir="../input"
6    
7 ifenty 1.2 #fileList=`( cd $fromDir ; echo *one_year )`
8 jmc 1.3 fileList=`( cd $fromDir ; echo *1x1* )`
9 ifenty 1.1
10     #echo 'fileList=' $fileList
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
29    

  ViewVC Help
Powered by ViewVC 1.1.22