How to remove/rename part of a file name in a loop?
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Monique Embury
 el 20 de Ag. de 2019
  
    
    
    
    
    Comentada: Monique Embury
 el 21 de Ag. de 2019
            Hi, 
I am trying to rename 50,000 images that have an incorrect file name. They are all .tif files with a name similar to "Hoverdofeightnosleevetriggered000002.T000.D000.P000.H000.LA" and should be named like this "Hoverdofeightnosleevetriggered000001A". The files start at 0 and increase from there. Everyother photo is called A or B. Can someone please help me rename them in a loop? 
I have looked online and can't seem to find a code that will work.
Thanks in advance! 
2 comentarios
  the cyclist
      
      
 el 20 de Ag. de 2019
				I don't understand the general rule for renaming the files. Could you give a couple more examples of input/output?
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
				Más información sobre Convert Image Type 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!



