ADB:新创建的文件直接到PC

发布于 2025-01-25 04:59:43 字数 249 浏览 2 评论 0原文

我有以下用户酶: 在我的Android上,将创建一个巨大的文件。随着手机上的可用空间,此文件可能会更大。现在,我认为是一种将该文件直接发送到PC而不是将其存储在电话上的方法。

是否有可能直接管传输文件?这是一个巨大的文本文件。我可以触发创作。

  • 在手机上创建(存在根部权利),带有文件名的管道
  • 将其通过ADB发送到PC
  • 存储内容。

有人知道一种方法吗?

感谢Björn

I have the following usecase:
On my Android will create a huge file. This file can be bigger as the free space on the phone. Now I think for a way to send this file direct to the pc instead of storing it on the phone.

Is there a possibility to pipe the file direct? It is a huge text file. The I can trigger the creation.

  • Anything like create on the phone(root rights exist) a pipe with the filename
  • send it over ADB to the pc
  • store the content.

Anyone knows a way to do it?

Thanks Björn

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦开始←不甜 2025-02-01 04:59:43

我找到了在屏幕上输出数据的选项,并且可以使用“ adb shell命令> file_on_local_pc.txt”,“

这是预期的更简单的。谢谢

I found a option to output the data on the screen and than I can use "adb shell command > file_on_local_pc.txt"

This is more simple as expected. Thanks

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文