/[MITgcm]/mitgcm.org/front_content/parse_emails
ViewVC logotype

Diff of /mitgcm.org/front_content/parse_emails

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

revision 1.5 by edhill, Mon Nov 28 13:34:31 2005 UTC revision 1.7 by edhill, Thu Oct 12 01:51:09 2006 UTC
# Line 28  usage() Line 28  usage()
28  INDIR="/u/edhill/Mail/MITgcm-test"  INDIR="/u/edhill/Mail/MITgcm-test"
29  OUTDIR=  OUTDIR=
30  TEMPDIR=./ptmp  TEMPDIR=./ptmp
31  MUNPACK=/usr/local/bin/munpack  MUNPACK=/u/edhill/local/bin/munpack
32    
33  #  Parse options  #  Parse options
34  ac_prev=  ac_prev=
# Line 127  for file in $all_files ; do Line 127  for file in $all_files ; do
127          while test -e $OUTDIR"/"$tdir"_"$ad ; do          while test -e $OUTDIR"/"$tdir"_"$ad ; do
128              ad=$(( $ad + 1 ))              ad=$(( $ad + 1 ))
129          done          done
130          mv $TEMPDIR"/"$tdir $OUTDIR"/"$tdir"_"$ad          mv $TEMPDIR"/"$tdir $OUTDIR"/"$tdir"_"$ad > /dev/null 2>&1
131          chmod -R a+rx $OUTDIR"/"$tdir"_"$ad > /dev/null 2>&1          chmod -R a+rx $OUTDIR"/"$tdir"_"$ad > /dev/null 2>&1
132          gzip $OUTDIR"/"$tdir"_"$ad"/output.txt"          gzip $OUTDIR"/"$tdir"_"$ad"/output.txt"
133      else      else
134          mv $TEMPDIR"/"$tdir $OUTDIR          mv $TEMPDIR"/"$tdir $OUTDIR > /dev/null 2>&1
135          chmod -R a+rx $OUTDIR"/"$tdir > /dev/null 2>&1          chmod -R a+rx $OUTDIR"/"$tdir > /dev/null 2>&1
136          gzip $OUTDIR"/"$tdir"/output.txt"          gzip $OUTDIR"/"$tdir"/output.txt"
137      fi      fi

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22