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

Manuela Kuhn's avatar
Manuela Kuhn committed
FILES=/space/projects/test_data/flat/bf_00000.tif
Manuela Kuhn's avatar
Manuela Kuhn committed
TARGET=/space/projects/live-viewer/data/source/local
i=1
LIMIT=1000
while [ "$i" -le $LIMIT ]
do
    TARGET_FILE="$TARGET/$i.tif"
    echo $TARGET_FILE
    cp $FILES "$TARGET_FILE"
    i=$(($i+1))
done