#!/usr/bin/env dash
#inc - increment - copy a single file to the number of files by hex in the current dir
i="0"
ext="swav"
n="00"

ls | wc -l | read l

while [ $i -lt $l ]
do
	x="printf "%04X\n" $i"
	i="expr $i + 1"
	while read f; do
		cp $n.$ext $f.$ext;
	done
done
