This repository has been archived by the owner on Jan 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
65 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@echo off | ||
echo Enter file path: | ||
set /p path= | ||
adb\adb.exe push %path% /sdcard | ||
adb\adb.exe push -a %path% /sdcard | ||
pause | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@echo off | ||
echo Enter file path: | ||
set /p path= | ||
adb\adb.exe pull %path% %USERPROFILE%\Desktop | ||
adb\adb.exe pull -a %path% %USERPROFILE%\Desktop | ||
pause | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@echo off | ||
set CUR_YYYY=%date:~10,4% | ||
set CUR_MM=%date:~4,2% | ||
set CUR_DD=%date:~7,2% | ||
set CUR_HH=%time:~0,2% | ||
if %CUR_HH% lss 10 (set CUR_HH=0%time:~1,1%) | ||
set CUR_NN=%time:~3,2% | ||
set CUR_SS=%time:~6,2% | ||
set CUR_MS=%time:~9,2% | ||
set filename=%CUR_YYYY%%CUR_MM%%CUR_DD%-%CUR_HH%%CUR_NN%%CUR_SS%.mp4 | ||
echo The video will be saved in /sdcard/%filename%. Press Ctrl-C to stop. | ||
adb shell screenrecord /sdcard/%filename% |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters