adb shell "rm /data/trace/*" adb pull "/data/trace/`adb shell ls /data/trace/`" ' does not existdata/trace/log.8290 test_file=`adb shell ls /data/trace/`; test_file2=`echo $test_file | tr -d 'r'`; echo "grabbing $test_file2"; adb pull "/data/trace/$test_file2";