Skip to content

Instantly share code, notes, and snippets.

@swapii
Last active September 3, 2015 08:38
Show Gist options
  • Save swapii/d38e4540bac4400734c7 to your computer and use it in GitHub Desktop.
Save swapii/d38e4540bac4400734c7 to your computer and use it in GitHub Desktop.
Make Android screenshot with date in name
#!/bin/bash
# Make screenshot with date in name
screencap -p /sdcard/Pictures/Screenshots/`echo "device-\`date +%Y%m%d\`-\`date +%H%M%S\`.png"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment