Next Previous Contents

4. Script

This is a script which you can use to call SJBtime:

#!/bin/bash
# split single Freqencys in segments
# calls "sjbtime"
# output: *.000s to *.999s
#
#COUNT=0
LENGTH=$1
DIFF=$2
SAVEPATH=./split

mkdir $SAVEPATH

for FILE in *.frq.*
do
  echo sjbtime $FILE $LENGTH $DIFF
  bunzip2 -q $FILE
  mv $FILE.out $FILE
  sjbtime $FILE $LENGTH $DIFF
  mv $FILE $SAVEPATH
done


Next Previous Contents