diff archivemany.sh @ 18:fdf4ceb36db1

fixed problem with dir names in metacheck new version of metacheck defaults to not change index file new version of archiver uses new version of metacheck
author casties
date Tue, 20 Sep 2005 19:24:57 +0200
parents 8d2f0586eca6
children a3c35eae25dc
line wrap: on
line diff
--- a/archivemany.sh	Wed Aug 31 12:50:00 2005 +0200
+++ b/archivemany.sh	Tue Sep 20 19:24:57 2005 +0200
@@ -2,6 +2,8 @@
 
 VERSION="archivemany V0.1 (14.6.2005 ROC)"
 
+#set -x
+
 if [ -z "$1$2" ]
 then
     echo $VERSION
@@ -12,6 +14,7 @@
 
 BASEDIR="$1"
 DIRLIST="$2"
+PARAM="$3"
 
 if [ ! -d $BASEDIR ]
 then
@@ -30,7 +33,7 @@
     if [ -d "$BASEDIR/$DIR" ]
     then
 	echo "archiving $DIR..."
-	if /usr/local/mpiwg/archive/archiver "$BASEDIR/$DIR"
+	if /usr/local/mpiwg/archive/archiver "$PARAM" "$BASEDIR/$DIR"
 	then
 	    echo "  done on `date`"
 	else