Change archives name with Matlab

1 Ansicht (letzte 30 Tage)
Emmanuelle
Emmanuelle am 13 Okt. 2012
Hi,
I've a question about how can I change archives name. I will try to ask it with a simple example:
I have on one hand this archives:
ab123.zip
bc124.zip
cd125.zip
On the other hand, I have this ones:
abxx1.jpg
bcxx2.jpg
cdxx3.jpg
What I try to do is to sustitute the 'xx1, xx2 and xx3' of the last archives with '123, 124 and 125' from the first ones. Is that possible to automatize that with the position? I need to do it with a lot of archives.
Thanks a lot in advance and greetings,
Emma

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 13 Okt. 2012
  1 Kommentar
Emmanuelle
Emmanuelle am 15 Okt. 2012
Thanks Walter. I thinks it's the way to do it but I've a problem.
How can I process the automatized process? I need that everytime create a new name with the same format:
ab/bc/cd (the two first positions from the first name) + number (the number from 3,4 and 5 position)
Is that possible?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by