Created
September 27, 2019 15:41
-
-
Save shunia/84851cc2ac1fc23eff9ba61e36bc1d29 to your computer and use it in GitHub Desktop.
Revisions
-
shunia created this gist
Sep 27, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ ## Parameters The parameters can be replaced with the value you wanted. * targetFolder - target folder of you device under your sdcard, or just leave empty to target the root folder(not recommended) * fileExt - it's possible to use extension names to filter files, png,mkv,txt,etc. ## Windows ```bat for %f in (*.fileExt) do adb push %f /sdcard/targetFolder ``` ## GNU/LINUX ```bash for f in *.fileExt; do adb push $f /sdcard/targetFolder; done ```