Last active
November 8, 2015 13:36
-
-
Save rjack/4d72a13b842ed92e8d77 to your computer and use it in GitHub Desktop.
adb-push-music
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
#!/usr/bin/env bash | |
target="/storage/sdcard1/Music" | |
for dir in "$@"; | |
do | |
base=$(basename "$dir") | |
adb push -p "$dir" "$target/$base" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment