1. adb shell "rm /data/trace/*"
  2.  
  3. adb pull "/data/trace/`adb shell ls /data/trace/`"
  4.  
  5. ' does not existdata/trace/log.8290
  6.  
  7. test_file=`adb shell ls /data/trace/`;
  8. test_file2=`echo $test_file | tr -d 'r'`;
  9. echo "grabbing $test_file2";
  10. adb pull "/data/trace/$test_file2";