string to integer

2010-05-05 Thread Javier Montoya
Dear all, I have a several directories with *.jpg images. The image files are named as ascending numbers and I would like to retrieve the lowest and largest image number in each directory. An example of the content of a directory is given below: /bla/bla/bla/dir1 - 0.jpg - 1.jpg - -

Re: string to integer

2010-05-05 Thread Javier Montoya
On Mar 19, 12:39 pm, Javier Montoya jmonto...@gmail.com wrote: Dear all, I have a several directories with *.jpg images. The image files are named as ascending numbers and I would like to retrieve the lowest and largest image number in each directory. An example of the content of a directory

Re: string to integer

2010-05-05 Thread Javier Montoya
On Mar 19, 6:04 pm, DennisW dennistwilliam...@gmail.com wrote: On Mar 19, 6:50 am, Javier Montoya jmonto...@gmail.com wrote: On Mar 19, 12:39 pm, Javier Montoya jmonto...@gmail.com wrote: Dear all, I have a several directories with *.jpg images. The image files are named as

Re: string to integer

2010-05-05 Thread Greg Wooledge
On Fri, Apr 02, 2010 at 11:23:26AM -0700, DennisW wrote: On Mar 19, 12:39 pm, Javier Montoya jmonto...@gmail.com wrote: I have a several directories with *.jpg images. The image files are named as ascending numbers and I would like to retrieve the lowest and largest image number

Re: string to integer

2010-05-04 Thread DennisW
On Mar 19, 6:50 am, Javier Montoya jmonto...@gmail.com wrote: On Mar 19, 12:39 pm, Javier Montoya jmonto...@gmail.com wrote: Dear all, I have a several directories with *.jpg images. The image files are named as ascending numbers and I would like to retrieve the lowest and largest