adb命令拷贝文件

Posted on

adb命令拷贝文件

To copy dirs, it seems you can use

adb pull if you want to copy file/dir from device, and

adb push to copy file/dir to device. Alternatively, just to copy a file, you can use a simple trick:

cat source_file > dest_file .

Note that this does not work for user-inaccessible paths.

To edit files, I have not found a simple solution, just some possible workarounds. Try this, it seems you can (after the setup) use it to edit files like

busybox vi . Nano seems to be possible to use to.

希望本站内容对您有点用处,有什么疑问或建议请在后面留言评论
转载请注明作者(RobinChia)和出处 It so life ,请勿用于任何商业用途
本文链接: adb命令拷贝文件