View Single Post
Old 09-10-2009, 11:28 AM   #72
xabila
Junior Member
xabila began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2009
Device: PRS 505
Ok thanks, i did it with linux :

#!/bin/bash
name=test;
mypwd=`pwd`;
mkdir $mypwd/$name
cpt=0;
for i in `find . -name *.jpg`
do
cpt=`expr $cpt + 1`
cpt3d=`printf '%03d' $cpt`
echo "$i is $cpt3d"
cp $i $mypwd/$name/$name_$cpt3d.jpg
done

Thanks
xabila is offline   Reply With Quote