#android #terminal #tools

When you have an Android device attached to your system via USB, you can use the following terminal command to make a screenshot with the current date / time in the filename:

adb exec-out screencap -p > adb-screenshot-`date +%Y%m%d%H%M%S`.png