how to rename and Copy Zip File from one location to another location
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Srivenkateswaran Narayanan
el 24 de Dic. de 2019
Comentada: the cyclist
el 27 de Dic. de 2019
Hi,
I am working on file management, i need to rename and copy a zip file from one location to anothe location.
i had used the command (copyfile), for the data transfer from one location to another.
Problem:
At the time of Copy, i had same zip file name. so it is taking only one file other file is getting replaced. but i need to have both the files in the same location with renaming.
how to proceed that? can you please help me in this
2 comentarios
Respuestas (1)
the cyclist
el 24 de Dic. de 2019
2 comentarios
the cyclist
el 27 de Dic. de 2019
I'm not sure what you want to do if a file of the same name exists. But, you can use the isfile command to check whether the file exists in the location. If it does, then you could use the movefile command to rename it.
Ver también
Categorías
Más información sobre Interactive Control and Callbacks 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!