#!/bin/bash x=0 while [ $x -lt 1600 ]; do cp index0000.html index$x.html x=$(( $x + 1 )); done