Hey,
Could you explain me what this code is doing
?
For example:
Code:
$i has value 9
$1 is the name of the file say FILEBkUp
while [ "$i" != "1" ]
do
if [ -f $1.`/bin/expr $i - 1` ]
then
mv -f $1.`/bin/expr $i - 1` $1.$i
fi
i=`/bin/expr $i - 1`
done
Thanks in Advance !
Varun
