开发者

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

开发者 https://www.devze.com 2023-01-17 04:33 出处:网络
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

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

精彩评论

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