Commit 7c773911 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

correction

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 2184
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent a8c8ed78
#!/bin/sh
# this is <extractmgmtar.sh>
# ----------------------------------------------------------------------------
# $Id: extractmgmtar.sh,v 1.3 2006-11-20 10:58:02 tforb Exp $
# $Id: extractmgmtar.sh,v 1.4 2006-11-20 11:08:32 tforb Exp $
#
# Copyright (c) 2006 by Thomas Forbriger (BFO Schiltach)
#
......@@ -12,15 +12,20 @@
#
# ============================================================================
#
a=$1
while test -n $a
while [ z != z$1 ]
do
day=$(basename $a .tar.bz2)
echo "extract archive " $a " for day " $day
rm -rfv geo.dat geo.inf
tar xvfpsj $a
mgm2sff -v -t -o geo $day.sff
shift
a=$1
if test -f $a -a -r $a
then
day=$(basename $a .tar.bz2)
echo "extract archive " $a " for day " $day
rm -rfv geo.dat geo.inf
tar xvfpsj $a
if test -r geo.inf -a -r geo.dat
then
mgm2sff -v -t -o geo $day.sff
fi
fi
shift
done
# ----- END OF extractmgmtar.sh -----
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment