Re: [android-beginners] Re: How to know the size of a file in adb shell prompt

2010-03-19 Thread rocky84 rocky84
Hello pskink all, i am more inerested in size of a particular file rather than other details as with ls -l command. i issued the below commands utility in perl to calculate the size of a file abc.txt *system(adb shell cd /data/app); $filename = abc.txt; $size_of_file = -s $filename; print The

Re: [android-beginners] Re: How to know the size of a file in adb shell prompt

2010-03-19 Thread Mark Murphy
rocky84 rocky84 wrote: Hello pskink all, i am more inerested in size of a particular file rather than other details as with ls -l command. i issued the below commands utility in perl to calculate the size of a file abc.txt *system(adb shell cd /data/app); $filename = abc.txt;

[android-beginners] Re: How to know the size of a file in adb shell prompt

2010-03-18 Thread skink
On Mar 17, 5:34 pm, rocky84 rocky84 hulkman...@gmail.com wrote: *Hello all, i want to extract the size of a file in adb shell using some perl utility. this works fine for me as below in windows but does not work in adb shell prompt (#) i used this function in windows stat($filename);