You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/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
|