Why numeric.
I have a DOS C program which uses the date and time to generate a name.
It is from Borland C but should readily convert to gcc.
CWSIV
On 01 Dec 2003 11:52:56 -0800 "James D. Ivey"
On Mon, 2003-12-01 at 11:32, James Hatridge wrote:
I need to do something like this too. But I have a couple of 100 jpg files that have all difference names, all ending in .jpg, how can I rename them to for example 10.jpg, 20.jpg, 30.jpg, etc.
I'm not getting the pattern. You want all .jpg files to have their original file names wiped and replaced with a sequence of numbers which are multiples of 10? e.g.,:
aaaa.jpg -> 10.jpg aaab.jpg -> 20.jpg aaba.jpg -> 30.jpg and so on?
If you help me understand the pattern you're looking for, I can either give you the appropriate rename command(s) and/or adapt one of my many renaming scripts to do it for you. One warning: I haven't successfully installed Suse yet, so mine works on Mandrake 8.2. It should work though.
Regards,
Jim
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today!