Skip to content
  • #! /bin/bash
    
    cd ~/Desktop/
    DATE=`date +%Y-%m-%d-%H%M%S`
    adb exec-out screencap -p > "device-${DATE}".jpg

    이런 식으로 자동으로 현재 날짜와 시간으로 파일명을 만드는 스크립트 파일을 만들어 두면 바로 실행할 수 있어서 편합니다.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment