Reading and renaming files

3 visualizzazioni (ultimi 30 giorni)
Edward
Edward il 14 Mag 2012
Hi, i'm wondering if there's a function to get all the file names/file info in a directory?
If so, is there another function to rename files/edit file info?
I'm trying to rename music tracks with file names "title - artist" and change this just to "title" which i will probably use regexp for.
Thanks

Risposta accettata

Jan
Jan il 14 Mag 2012
help dir
help movefile
What do you mean by "file info"?
  1 Commento
Edward
Edward il 14 Mag 2012
By file info i mean all the information you would see if you were looking at the file in windows explorer. For example, file size, file type, title, comments etc..

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by