Ignore:
Timestamp:
05/09/07 17:05:15 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/movingsubsystemfiles

    r7460 r8482  
    2020#   Author(s): Daniela Dorner  08/2004 <mailto:dorner@astro.uni-wuerzburg.de>
    2121#
    22 #   Copyright: MAGIC Software Development, 2000-2006
     22#   Copyright: MAGIC Software Development, 2000-2007
    2323#
    2424#
     
    4545for subsysfile in ${subsysfiles[@]}
    4646do
    47   newsubsysfile=`echo $subsysfile | sed -e 's/datacenter\/fromtape/subsystemdata/g' -e 's/daqlog/daq__/g' -e 's/ccdata/cc/g' -e 's/cacodata/caco/g' -e 's/_/\//1' -e 's/_/\//1' -e 's/\/\///g'`
    48   newdir=`dirname $newsubsysfile`
    49   if [ ! -d $newdir ]
    50   then
    51     echo "make dir "$newdir
    52     mkdir -p $newdir
    53   fi
     47   newsubsysfile=`echo $subsysfile | sed -e 's/datacenter\/fromtape/subsystemdata/g' -e 's/daqlog/daq__/g' -e 's/ccdata/cc/g' -e 's/cacodata/caco/g' -e 's/_/\//1' -e 's/_/\//1' -e 's/\/\///g'`
     48   newdir=`dirname $newsubsysfile`
     49   if [ ! -d $newdir ]
     50   then
     51      echo "make dir "$newdir
     52      mkdir -p $newdir
     53   fi
    5454
    55   mv -v $subsysfile $newsubsysfile
     55   mv -v $subsysfile $newsubsysfile
    5656done
    5757
Note: See TracChangeset for help on using the changeset viewer.