Reading and renaming files

3 次查看(过去 30 天)
Edward
Edward 2012-5-14
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

采纳的回答

Jan
Jan 2012-5-14
help dir
help movefile
What do you mean by "file info"?
  1 个评论
Edward
Edward 2012-5-14
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..

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by