Harbor

fotren.sh script

To run this script you need cygwin or bash shell. Simple run this script, it will look for any file with extension jpg and rename it to inew + sequence. If you want any other name, simply change inew for something else.

#!/bin/bash 
x=0 
echo valor de x $x
for i in $(ls *jpg)
do 
  let x+=1 
  mv $i inkoosky$x.jpg
done