Rename a bunch of files in a folder
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I have more than 300 files in each folder and I would like to rename the files at once. I am new to matlab programming and got stuck here. The original file names is something like this "filename20090101" and i would like it to be something like "filename_2009_01_01" those are daily files so after the first month it will be "filename_2009_02_01" and so on. Any help would be appreciated. Thank You!
0 comentarios
Respuestas (1)
Image Analyst
el 31 de Jul. de 2014
In the loop, use the movefile() function to rename the files.
0 comentarios
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!