This alias
adds ADB Screen Capture on the command-line
Add the alias to your ~/.bash_profile
alias screencap="adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > "
NOTE: to add adb
to the command-line
export PATH=$PATH:~/Library/Android/sdk/platform-tools/:~/Library/Android/sdk/tools/
screencap > name_of_screencap.png