|We don't bite newbies here... much|
Renaming an image fileby Anonymous Monk
|on Nov 28, 2010 at 05:28 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
Hi there Monks!
I need to rename my image files that has this format:
joe_IMG_27445.JPG or Mary_34555.jpg
I need to format these files with a random unique number right after the first "_", at the end I will have all the files like:
joe_34455667.jpg or Mary_8883377.jpg etc...
This way the files will be unique and uniform for my storage needs. Is this possible, any help on how I could accomplish this?
Thanks for the help!