/[MITgcm]/mitgcm.org/scripts/daily_snapshot
ViewVC logotype

Diff of /mitgcm.org/scripts/daily_snapshot

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

revision 1.2 by jmc, Fri Feb 29 01:51:27 2008 UTC revision 1.3 by jmc, Wed Mar 5 00:56:11 2008 UTC
# Line 13  export CVSROOT=/u/gcmpack Line 13  export CVSROOT=/u/gcmpack
13  echo -n 'Update dir:'  echo -n 'Update dir:'
14  cd /u/u2/jmc/testing/scripts && pwd && cvs -q update -P -d  cd /u/u2/jmc/testing/scripts && pwd && cvs -q update -P -d
15    
   
16  #-- update tools/mpack-1.6 dir :  #-- update tools/mpack-1.6 dir :
17  tmpFil=/tmp/TTT.daily_snapshot.$$  tmpFil=/tmp/TTT.daily_snapshot.$$
18  exe=munpack  exe=munpack
# Line 31  fi Line 30  fi
30  echo -n 'Update dir:'  echo -n 'Update dir:'
31  cd /u/u2/jmc/testing/front_content && pwd && cvs -q update -P -d  cd /u/u2/jmc/testing/front_content && pwd && cvs -q update -P -d
32    
33    #-- clean-up old log files:
34    cd /u/u2/jmc/testing/logs
35    n=$(( `ls bld_manual.* | wc -l` - 10 ))
36    if test $n -gt 0 ; then
37      echo -n ' remove files: '
38        ls -lt bld_manual.* | tail -"$n"
39        ls -t  bld_manual.* | tail -"$n" | xargs rm -f
40    fi
41    
42    
43  umask 0002  umask 0002
44    
45  echo 'Changing directory to /u/httpd/html/download/daily_snapshot'  echo 'Changing directory to /u/httpd/html/download/daily_snapshot'

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.22