cut and paste by script (windows 7)
2 ビュー (過去 30 日間)
古いコメントを表示
i have a list of large files in matlab (subset of visual logs) and i need to move them to another folder on the same drive by script
On first attempt i used movefile, but it literally takes hour to perform (moving 800gb of data). Doing that with windows gui takes couple of seconds since its same physical drive (selecting proper files is a pain though).
What command should i use to perform cut/paste (on same physical drive) operation via script in a bearable time set?
*im using matlab 2013a
0 件のコメント
採用された回答
Geoff Hayes
2015 年 2 月 1 日
Thomas - why not use the system function to execute a DOS command to move the files from one directory to another. Something like
system('move C:/source.txt C:/someFolder/');
Perhaps that will take less than the hour that you have observed with movefile.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!