how to rename bunch of files
Show older comments
Hi experts,
I have 277 Image files ,like
zROI1FCMap_Sub011.img, zROI2FCMap_Sub011.img, zROI3FCMap_Sub011.img ..... zROI 277 FCMap_Sub011.img,
now I want to rename this to
zROI*218*FCMap_Sub011.img, zROI*219*FCMap_Sub011.img zROI*220*FCMap_Sub011.img...... zROI*494*FCMap_Sub011.img
Could any one please tell me how to rename?
Thank you
Pruthvi
3 Comments
Walter Roberson
on 28 Jun 2012
You will have literal asterisks in your file names? That is possible, I guess, but it would likely tend to mess up anything that does wild-card processing.
Pruthviraj kyathanahally
on 28 Jun 2012
Image Analyst
on 29 Jun 2012
You need to put a space before the first asterisk and a space after the second asterisk to make it bold, like I did for your first one (which I edited). Though, that also puts in spaces in addition to making it bold. I'm not sure how to make it bold without having spaces in the output.
Accepted Answer
More Answers (0)
Categories
Find more on Structures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!