[BNM] image renaming

AndrewGill73@gmail.com andrewgill73 at gmail.com
Mon Jun 25 15:57:55 BST 2007


Richard,

Perhaps a quicker way depending on your skillset...

...Have you thought of doing it in Excel?

Make a column of all your numbers (1,2,3....)
Make a column of all the corresponding names
Then insert a column with DOS command "RENAME " on each row.

Then copy and paste all the fields to a command prompt, and run it.

Cheers,
Andy

On 6/25/07, John Montgomery <john at littlespikeyland.com> wrote:
>
> Sounds like a job for Python/Perl/Ruby to me.
>
> The "safest" way would probably be to write something to convert the
> table into a series of commands like:
>
>         mv 1.jpg abc.jpg
>
> and dump them to at text file, so at least you can eye-ball it before
> you attempt to rename every single file and forget something crucial...
>
>
> On 25 Jun 2007, at 14:53, Richard Wells wrote:
>
> > I apologise for a basic question but I have a hundred jpegs which are
> > numbered 1.jpg, 2.jpg, 3.jpg etc and a corresponding table with text
> > file names:
> >
> > 1     abc.jpg
> > 2     def.jpg
> > 3     ghi.jpg etc
> >
> > Is there an easy way to rename my jpegs with the text names?
> >
> > Richard
> > --
> >
> > BNM Subscribe/Unsubscribe: http://www.brightonnewmedia.org/options/
> > bnmlist
> >
> > BNM info/archives:
> > http://www.brightonnewmedia.org/
> >
> > BNM powered by Wessex Networks:
> > http://www.wessexnetworks.com
> >
>
> --
>
> BNM Subscribe/Unsubscribe: http://www.brightonnewmedia.org/options/bnmlist
>
> BNM info/archives:
> http://www.brightonnewmedia.org/
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>



-- 
Kind regards,
Andy
_______________________________________
Andrew Gill
Binary Portfolio Ltd
Telephone: 01273 704412
The Sussex Innovation Centre, Science Park Square, Brighton, BN1 9SB. U.K
http://www.BinaryPortfolio.com

BinaryPortfolio.com is the trading name of Binary Portfolio Limited. Binary
Portfolio Ltd, a company registered in England and Wales with the company
number 06013830 and VAT Number 902522463 and whose registered office is
MARIA HOUSE, 35 MILLERS ROAD, BRIGHTON, BN1 5NP.

This message may contain information that is privileged or confidential. If
you are not the intended recipient please delete it and inform the sender
immediately. Within the bounds of law, the UK based entities in Binary
Portfolio Ltd retain all emails and IMs and monitor them to ensure
compliance with their internal policies and for other legitimate business
purposes.



More information about the BNMlist mailing list. Powered by Wessex Networks