您是否尝试过使用标准的旧 C 函数?
`fopen` the source on one partition
`fopen` the destination on the other partition
LOOP while `fread` > 0
`fread` from the source to a buff
`fwrite` to the dest from a buff
Run Code Online (Sandbox Code Playgroud)
然后关闭您的文件(即。fclose)。
这也更便携。
编辑:如果您希望它非常基础,为什么不使用脚本语言(python/bash)并在几行中完成。
| 归档时间: |
|
| 查看次数: |
1229 次 |
| 最近记录: |