开发者

How to find out the size of a directory in adb shell?

I want to find out storage usage of an app. I can list file size in adb shell using ls command. But, I didn't find 'du' command in adb 开发者_如何学Goshell. Is there any command or tool that allows me to figure out the storage usage of a directory?

Thanks.


There's no du in /system/bin. But you can push busybox to device, and use busybox's du.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜