Move file based on filename
4 views (last 30 days)
Show older comments
Dionysius Bryan
on 24 Nov 2018
Commented: Dionysius Bryan
on 25 Nov 2018
Hii...
I wonder if there is a quick way to move files based on its filename with MATLAB, for example I have 100 JPG files with names TC01.JPG, TC02.JPG, TC03.JPG, ...
I want to move only five of them, which are TC05.JPG, TC11.JPG, TC19.JPG, TC87.JPG and TC89.JPG into a newly created folder
I know there is a movefile command to move file into new folder, but how can I do it simultaneously for multiple files with specific filename?
Thanks a lot!
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!