Skip to content
Snippets Groups Projects
copy_loop_cbf.sh 391 B
Newer Older
Manuela Kuhn's avatar
Manuela Kuhn committed
#/bin/sh

#BASEPATH=/space/projects/live-viewer
BASEPATH=/home/p11user/live-viewer
FILES=${BASEPATH}/test_015_00001.cbf
#FILES=/tmp/PhilipPBS_3_00001.cbf
#TARGET=${BASEPATH}/data/source/local
TARGET=/rd_temp/local/sender_test
Manuela Kuhn's avatar
Manuela Kuhn committed
i=1
LIMIT=1000
while [ "$i" -le $LIMIT ]
do
    TARGET_FILE="$TARGET/$i.cbf"
Manuela Kuhn's avatar
Manuela Kuhn committed
    echo $TARGET_FILE
    cp $FILES "$TARGET_FILE"
p11user's avatar
p11user committed
#    sleep 0.2
Manuela Kuhn's avatar
Manuela Kuhn committed
    i=$(($i+1))
done