MoveFileToMainPath
所属分类:其他
开发工具:matlab
文件大小:2KB
下载次数:1
上传日期:2017-04-13 09:26:54
上 传 者:
matlab的旋律
说明: 自己写的一个将所有子目录相同后缀的文件剪切到根目录的小程序,也可以为拷贝,具体可以参考程序
(Write their own all the subdirectories of the same suffix file cut to the root directory of the small program can also be a copy, the specific reference to the program)
文件列表:
MoveFileToMainPath\main.m (176, 2017-04-13)
MoveFileToMainPath\MoveFileToMainPath.m (1060, 2017-04-13)
MoveFileToMainPath\test\1\1.txt (34, 2017-04-13)
MoveFileToMainPath\test\1\11\11.txt (260, 2017-04-13)
MoveFileToMainPath\test\1\11\12.txt (107, 2017-04-13)
MoveFileToMainPath\test\2\2.txt (235, 2017-04-13)
MoveFileToMainPath\test\1\11 (0, 2017-04-13)
MoveFileToMainPath\test\1 (0, 2017-04-13)
MoveFileToMainPath\test\2 (0, 2017-04-13)
MoveFileToMainPath\test (0, 2017-04-13)
MoveFileToMainPath (0, 2017-04-13)
使用说明:
folderName = 'csvdata';
fileName = 'E:\data';
csvFileName = fullfile(fileName,folderName);
MoveFileToMainPath(csvFileName,csvFileName,'.csv')%move file to main directory
这里就会将csvFileName 里面的所有子文件的后缀为.csv剪切到csvFileName文件夹得根目录下
近期下载者:
相关文件:
收藏者: