Is there something similar to the unix command du i can use on adb shell? I'm trying to find a way to see how big each file is because I have an application that is growing very large and out of control and I am trying to determine which file/database it is specifically so I can address the problem.
I am testing this on an Evo 4G and getting:
du: permission denied
or after I root/remount it:
du: not found
cd into other folders dose not help me at any point.
Install Terminal IDE (or some other app that includes du
or BusyBox - TIDE includes quite a lot in addition to that, which you may not want), and either ask the question with one of its terminals, or by connecting to its telnet server and then asking.
ls -l
should work in th adb shell
and that lists all the files in a current directory with their sizes.
HTH
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With