pull files over adb using wildcards
[android-command-line.git] / adb-pull-wildcard.sh
1 #!/bin/sh -e
2
3 test -z "$1" && echo "usage: $0 /sdcard/DCIM/Camera/*20121111*" && exit 1
4
5 ls $1 | tr -d '\r' | xargs -i sh -c 'echo {} ; adb pull {} .'
6